summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2011-07-20 17:33:12 (GMT)
committerChristian Pointner <equinox@helsinki.at>2011-07-20 17:33:12 (GMT)
commit6c81bee4c3c02c6f846bdfb77590b3536a45ea8c (patch)
treef2d82e80f91b67e441a0d6c8cbfff23a49bc708c /Makefile
parent372e7a9ebe522d38a493782446caf2b8b2b10231 (diff)
added rhimport-dn to install target
git-svn-id: https://svn.helsinki.at/rhimport/trunk@73 7c65635b-ec39-4f67-a626-873dbafdd612
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 664ff91..1444d5d 100644
--- a/Makefile
+++ b/Makefile
@@ -43,8 +43,10 @@ install: $(INSTALL_TARGETS)
install-bin:
$(INSTALL) -d $(DESTDIR)$(BINDIR)
$(INSTALL) -m 755 $(EXECUTABLE) $(DESTDIR)$(BINDIR)
- $(INSTALL) -m 755 rhimport-create-id $(DESTDIR)$(BINDIR)
+ $(INSTALL) -m 755 $(EXECUTABLE)-dn $(DESTDIR)$(BINDIR)
+ $(INSTALL) -m 755 $(EXECUTABLE)-create-id $(DESTDIR)$(BINDIR)
@sed s#/usr/local/share/rhimport/#$(SHAREDIR)/$(EXECUTABLE)/#g -i $(DESTDIR)$(BINDIR)/$(EXECUTABLE)
+ @sed s#/usr/local/share/rhimport/#$(SHAREDIR)/$(EXECUTABLE)/#g -i $(DESTDIR)$(BINDIR)/$(EXECUTABLE)-dn
install-share:
$(INSTALL) -d $(DESTDIR)$(SHAREDIR)/$(EXECUTABLE)
@@ -58,6 +60,8 @@ remove: $(REMOVE_TARGETS)
remove-bin:
rm -f $(DESTDIR)$(BINDIR)/$(EXECUTABLE)
+ rm -f $(DESTDIR)$(BINDIR)/$(EXECUTABLE)-dn
+ rm -f $(DESTDIR)$(BINDIR)/$(EXECUTABLE)-create-id
remove-share:
rm -rf $(DESTDIR)$(SHAREDIR)/$(EXECUTABLE)