From: Karel Zak Date: Fri, 29 Jun 2007 13:12:33 +0000 (+0200) Subject: build-sys: cleanup sys-utils/ rdev symlinks X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dfd8e6276ca23ad1d8e7e7d14dcbcf7ed3b1c48;p=util-linux build-sys: cleanup sys-utils/ rdev symlinks Signed-off-by: Karel Zak --- diff --git a/sys-utils/Makefile.am b/sys-utils/Makefile.am index f43997e1..92730b18 100644 --- a/sys-utils/Makefile.am +++ b/sys-utils/Makefile.am @@ -20,17 +20,14 @@ info_TEXINFOS = ipc.texi if BUILD_RDEV - if INTEL - usrsbinexec_PROGRAMS += rdev man_MANS += rdev.8 ramsize.8 rootflags.8 vidmode.8 - -install-exec-hook: - cd $(DESTDIR)$(usrsbinexecdir) && ln -sf rdev ramsize - cd $(DESTDIR)$(usrsbinexecdir) && ln -sf rdev vidmode - cd $(DESTDIR)$(usrsbinexecdir) && ln -sf rdev rootflags - +RDEV_LINKS = ramsize vidmode rootflags endif - endif + +install-exec-hook: + for I in $(RDEV_LINKS); do \ + cd $(DESTDIR)$(usrsbinexecdir) && ln -sf rdev $$I ; \ + done