summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2011-04-20 19:31:04 (GMT)
committerChristian Pointner <equinox@helsinki.at>2011-04-20 19:31:04 (GMT)
commit3bc1e8b22992f3c6dfd2bd5ebba29b594840ad32 (patch)
tree3c4729bba94d6b09f66265c0717616d196ed536d /src/Makefile
parent35ff2613a47ec59aacf4dc21d6a8b192f33c9bd6 (diff)
fixed make install
fixed make remove/purge
Diffstat (limited to 'src/Makefile')
-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)