From 4347ff58082e8505852ddb76b12f28657ba8d175 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 16 Feb 2009 14:32:16 +0000 Subject: (install) factorize installing --- Makefile | 8 ++++---- 1 file 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 -- cgit v1.2.1