summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-08-14 20:29:05 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:17 +0100
commitc210b8ae444e088957461c9fb242ace1fa63e7b1 (patch)
treec34ae564f0b86b77ef6023f44be6e9f2c95001a6 /Makefile
parente87d1e3b6ef230db9b2a651eef067c7269253098 (diff)
downloadvyos-live-build-c210b8ae444e088957461c9fb242ace1fa63e7b1.tar.gz
vyos-live-build-c210b8ae444e088957461c9fb242ace1fa63e7b1.zip
Moving /usr/share/live-helper to /usr/share/live/build.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 28ff8b436..33c78b4e2 100644
--- a/Makefile
+++ b/Makefile
@@ -40,16 +40,16 @@ build:
install:
# Installing shared data
- mkdir -p $(DESTDIR)/usr/share/live-helper
- cp -r cgi data examples functions scripts hooks includes lists repositories templates $(DESTDIR)/usr/share/live-helper
+ mkdir -p $(DESTDIR)/usr/share/live/build
+ cp -r cgi data examples functions scripts hooks includes lists repositories templates $(DESTDIR)/usr/share/live/build
# Installing executables
mkdir -p $(DESTDIR)/usr/bin
- mv $(DESTDIR)/usr/share/live-helper/scripts/build/lh $(DESTDIR)/usr/share/live-helper/scripts/build/live-helper $(DESTDIR)/usr/bin
+ mv $(DESTDIR)/usr/share/live/build/scripts/build/lh $(DESTDIR)/usr/share/live/build/scripts/build/live-helper $(DESTDIR)/usr/bin
# Installing documentation
- mkdir -p $(DESTDIR)/usr/share/doc/live-helper
- cp -r COPYING docs/* $(DESTDIR)/usr/share/doc/live-helper
+ mkdir -p $(DESTDIR)/usr/share/doc/live-build
+ cp -r COPYING docs/* $(DESTDIR)/usr/share/doc/live-build
# Installing manpages
for MANPAGE in manpages/en/*; \
@@ -72,13 +72,14 @@ install:
uninstall:
# Uninstalling shared data
- rm -rf $(DESTDIR)/usr/share/live-helper
+ rm -rf $(DESTDIR)/usr/share/live/build
+ rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/live
# Uninstalling executables
rm -f $(DESTDIR)/usr/bin/lh $(DESTDIR)/usr/bin/live-helper
# Uninstalling documentation
- rm -rf $(DESTDIR)/usr/share/doc/live-helper
+ rm -rf $(DESTDIR)/usr/share/doc/live-build
# Uninstalling manpages
for MANPAGE in manpages/en/*; \