summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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