summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index a1e4e9d..3efcf5e 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -111,11 +111,11 @@ install-bin: $(EXECUTABLE)
$(INSTALL) -m 755 $(EXECUTABLE) $(DESTDIR)$(BINDIR)
install-etc:
- $(INSTALL) -d $(DESTDIR)$(ETCDIR)/rharchive/
+ $(INSTALL) -d $(DESTDIR)$(ETCDIR)/$(EXECUTABLE)/
install-man: manpage
$(INSTALL) -d $(DESTDIR)$(MANDIR)/man8/
- $(INSTALL) -m 644 ../doc/rharchive.8 $(DESTDIR)$(MANDIR)/man8/$(EXECUTABLE).8
+ $(INSTALL) -m 644 ../doc/$(EXECUTABLE).8 $(DESTDIR)$(MANDIR)/man8/$(EXECUTABLE).8
uninstall: remove
@@ -131,5 +131,4 @@ remove-man:
rm -f $(DESTDIR)$(MANDIR)/man8/$(EXECUTABLE).8
purge: remove
- rm -f $(DESTDIR)$(ETCDIR)/$(EXECUTABLE).conf
- rm -f $(DESTDIR)$(ETCDIR)/default/$(EXECUTABLE)
+ rm -rf $(DESTDIR)$(ETCDIR)/$(EXECUTABLE)