commit cc30429e80a42ed149352dd62a36823edf65b707
parent fc2eb407f49bcc64b3280f0e1fca955521bd799c
Author: Willy Goiffon <w.goiffon@gmail.com>
Date: Tue, 15 Oct 2013 15:50:15 +0200
Clean install/uninstall targets
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -68,13 +68,12 @@ init :
@echo
install: $(BIN)
- install -d $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/$(PROG) $(DESTDIR)/etc/ $(DESTDIR)$(MANPREFIX)/man1
+ install -d $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/$(PROG) $(DESTDIR)$(MANPREFIX)/man1
install -m 755 bin/$(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
install -m 644 $(MANDIR)/$(PROG).1.gz $(DESTDIR)$(MANPREFIX)/man1/$(PROG).1.gz
uninstall:
$(RM) $(DESTDIR)$(PREFIX)/bin/$(PROG)
- $(RM) $(DESTDIR)/etc/$(PROG)
$(RM) -r $(DESTDIR)$(PREFIX)/share/$(PROG)
$(RM) $(DESTDIR)$(MANPREFIX)/man1/$(PROG).1.gz
## EOF