diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:47 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:18:28 +0100 |
commit | 677415f6d7efc1e5b888570d70af311d2900c69c (patch) | |
tree | 32fe7ced768666c229fff913fe12cbbf2fdd34e4 /Makefile | |
parent | 811ff0532fcb3305ebefcd1d61e4eb6c260902eb (diff) | |
download | vyos-live-build-677415f6d7efc1e5b888570d70af311d2900c69c.tar.gz vyos-live-build-677415f6d7efc1e5b888570d70af311d2900c69c.zip |
Adding live-helper 1.0~a2-1.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 23 |
1 files changed, 22 insertions, 1 deletions
@@ -15,9 +15,19 @@ install: mkdir -p $(DESTDIR)/usr/share/doc/live-helper cp -r COPYING doc/* $(DESTDIR)/usr/share/doc/live-helper + # Installing manpages + mkdir -p $(DESTDIR)/usr/share/man/man1 + cp manpages/*.1 $(DESTDIR)/usr/share/man/man1 + + mkdir -p $(DESTDIR)/usr/share/man/man7 + cp manpages/*.7 $(DESTDIR)/usr/share/man/man7 + uninstall: # Uninstalling executables - rm -f $(DESTDIR)/usr/bin/lh_* $(DESTDIR)/usr/bin/make-live + for HELPER in helpers/*; \ + do \ + rm -f $(DESTDIR)/usr/bin/`basename $$HELPER`; \ + done # Uninstalling shared data rm -rf $(DESTDIR)/usr/share/live-helper @@ -25,6 +35,17 @@ uninstall: # Uninstalling documentation rm -rf $(DESTDIR)/usr/share/doc/live-helper + # Uninstalling manpages + for MANPAGE in manpages/*.1; \ + do \ + rm -f $(DESTDIR)/usr/share/man/man1/`basename $$MANPAGE`; \ + done + + for MANPAGE in manpages/*.7; \ + do \ + rm -f $(DESTDIR)/usr/share/man/man7/`basename $$MANPAGE`; \ + done + clean: reinstall: uninstall install |