diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 8 insertions, 11 deletions
@@ -25,13 +25,13 @@ build: @echo "Nothing to build." install: - # Installing executables - mkdir -p $(DESTDIR)/usr/bin - cp helpers/* $(DESTDIR)/usr/bin - # Installing shared data mkdir -p $(DESTDIR)/usr/share/live-helper - cp -r data examples live-helper.sh functions hooks includes lists templates $(DESTDIR)/usr/share/live-helper + cp -r data examples live-helper.sh functions helpers hooks includes lists templates $(DESTDIR)/usr/share/live-helper + + # Installing executables + mkdir -p $(DESTDIR)/usr/bin + mv $(DESTDIR)/usr/share/live-helper/helpers/lh $(DESTDIR)/usr/share/live-helper/helpers/live-helper $(DESTDIR)/usr/bin # Installing documentation mkdir -p $(DESTDIR)/usr/share/doc/live-helper @@ -64,15 +64,12 @@ install: mkdir -p $(DESTDIR)/var/log uninstall: - # Uninstalling executables - for HELPER in helpers/*; \ - do \ - rm -f $(DESTDIR)/usr/bin/$$(basename $$HELPER); \ - done - # Uninstalling shared data rm -rf $(DESTDIR)/usr/share/live-helper + # Uninstalling executables + rm -f $(DESTDIR)/usr/bin/lh $(DESTDIR)/usr/bin/live-helper + # Uninstalling documentation rm -rf $(DESTDIR)/usr/share/doc/live-helper |