summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)