diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | grpmi/Makefile | 12 |
2 files changed, 8 insertions, 6 deletions
@@ -37,9 +37,11 @@ install: $(ALL) perl -pi -e 's|use strict.*||;s|use vars.*||;s|use diagnostics.*||;s|#-.*||' $(SBINDIR)/* ln -s -f rpmdrake $(SBINDIR)/rpmdrake-remove ln -s -f rpmdrake $(SBINDIR)/MandrakeUpdate + install -d $(BINDIR) ln -sf $(RELATIVE_SBIN)/rpmdrake $(BINDIR)/rpmdrake ln -sf $(RELATIVE_SBIN)/rpmdrake-remove $(BINDIR)/rpmdrake-remove ln -sf $(RELATIVE_SBIN)/MandrakeUpdate $(BINDIR)/MandrakeUpdate + ln -sf $(RELATIVE_SBIN)/edit-urpm-sources.pl $(BINDIR)/edit-urpm-sources.pl install -d $(DATADIR)/rpmdrake/icons install -m644 icons/*.png $(DATADIR)/rpmdrake/icons install -m644 compssUsers.flat.default $(DATADIR)/rpmdrake diff --git a/grpmi/Makefile b/grpmi/Makefile index eb16a1f7..94233fb0 100644 --- a/grpmi/Makefile +++ b/grpmi/Makefile @@ -17,7 +17,7 @@ DIRS = curl_download rpm po PREFIX = /usr/local DATADIR = $(PREFIX)/share -BINDIR = $(PREFIX)/bin +SBINDIR = $(PREFIX)/sbin all: dirs @@ -30,11 +30,11 @@ install: $(ALL) @for n in $(DIRS); do \ (cd $$n; $(MAKE) install) \ done - install -d $(BINDIR) - install grpmi.pl $(BINDIR)/grpmi - perl -pi -e 's|use strict.*||' $(BINDIR)/grpmi - perl -pi -e 's|use vars.*||' $(BINDIR)/grpmi - perl -pi -e 's|use diagnostics.*||' $(BINDIR)/grpmi + install -d $(SBINDIR) + install grpmi.pl $(SBINDIR)/grpmi + perl -pi -e 's|use strict.*||' $(SBINDIR)/grpmi + perl -pi -e 's|use vars.*||' $(SBINDIR)/grpmi + perl -pi -e 's|use diagnostics.*||' $(SBINDIR)/grpmi clean: @for n in $(DIRS); do \ |