From de94b1dd18322676692e35c6f2aedeb2e3cc90be Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 2 Sep 2002 19:27:36 +0000 Subject: plonk --- Makefile | 2 ++ grpmi/Makefile | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 05c66ce5..dc69fedc 100644 --- a/Makefile +++ b/Makefile @@ -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 \ -- cgit v1.2.1