blob: 02ab179ba4b326251d6dc5b48e7d451958963f16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/usr/bin/make -f
all: install
install:
# Installing executables
mkdir -p $(DESTDIR)/usr/bin
cp helpers/lh_* helpers/make-live $(DESTDIR)/usr/bin
# Installing shared data
mkdir -p $(DESTDIR)/usr/share/live-helper
cp -r functions hooks includes lists templates $(DESTDIR)/usr/share/live-helper
# Installing documentation
mkdir -p $(DESTDIR)/usr/share/doc/live-helper
cp -r COPYING doc/* $(DESTDIR)/usr/share/doc/live-helper
uninstall:
# Uninstalling executables
rm -f $(DESTDIR)/usr/bin/lh_* $(DESTDIR)/usr/bin/make-live
# Uninstalling shared data
rm -rf $(DESTDIR)/usr/share/live-helper
# Uninstalling documentation
rm -rf $(DESTDIR)/usr/share/doc/live-helper
clean:
reinstall: uninstall install
|