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)
commit46172ccfdeca54186489e005e24a6081c36d829c (patch)
treef2d82e80f91b67e441a0d6c8cbfff23a49bc708c /Makefile
parentd6efcce3431c585a4ee88a572f30c84359a0c0eb (diff)
added rhimport-dn to install target
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)