summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-02-16 14:32:16 +0000
committerThierry Vignaud <tv@mandriva.org>2009-02-16 14:32:16 +0000
commit4347ff58082e8505852ddb76b12f28657ba8d175 (patch)
tree4b1856a9134799deb7eb32a9def954941285e8b8 /Makefile
parent4f2e7704e17604c6c858671ac4657a8170dec383 (diff)
downloadmgaonline-4347ff58082e8505852ddb76b12f28657ba8d175.tar
mgaonline-4347ff58082e8505852ddb76b12f28657ba8d175.tar.gz
mgaonline-4347ff58082e8505852ddb76b12f28657ba8d175.tar.bz2
mgaonline-4347ff58082e8505852ddb76b12f28657ba8d175.tar.xz
mgaonline-4347ff58082e8505852ddb76b12f28657ba8d175.zip
(install) factorize installing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2f4450fa..25072da9 100644
--- a/Makefile
+++ b/Makefile
@@ -32,8 +32,6 @@ clean:
install: all
install -d $(PREFIX)/usr/{sbin,bin,share/{mime/packages,$(NAME)/pixmaps,autostart,gnome/autostart,icons/{mini,large}},lib/libDrakX/drakfirsttime}
- install -m755 mdkapplet-upgrade-helper $(SBINDIR)
- install -m755 mdkapplet-restricted-helper $(SBINDIR)
install -m755 $(MDKUPDATE) $(SBINDIR)
install -m755 $(MDKAPPLET) $(BINDIR)
install -d $(SYSCONFDIR)
@@ -56,8 +54,10 @@ install: all
mkdir -p $(PREFIX)/etc/pam.d
install -m644 pam.d_urpmi.update $(PREFIX)/etc/pam.d/urpmi.update
ln -sf consolehelper $(PREFIX)/usr/bin/urpmi.update
- ln -sf consolehelper $(PREFIX)/usr/bin/mdkapplet-upgrade-helper
- ln -sf consolehelper $(PREFIX)/usr/bin/mdkapplet-restricted-helper
+ for i in mdkapplet-restricted-helper mdkapplet-upgrade-helper; do \
+ install -m755 $$i $(SBINDIR); \
+ ln -sf consolehelper $(PREFIX)/usr/bin/$$i; \
+ done
cleandist:
rm -rf $(PACKAGE)-$(VERSION) ../$(PACKAGE)-$(VERSION).tar.bz2