From 2dfd8e6276ca23ad1d8e7e7d14dcbcf7ed3b1c48 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 29 Jun 2007 15:12:33 +0200 Subject: [PATCH] build-sys: cleanup sys-utils/ rdev symlinks Signed-off-by: Karel Zak --- sys-utils/Makefile.am | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) 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 -- 2.39.5