From 93f4317ed0044f5b65cea869275a0479652a42f8 Mon Sep 17 00:00:00 2001 From: simonm <unknown> Date: Mon, 12 Jan 1998 14:15:04 +0000 Subject: [PATCH] [project @ 1998-01-12 14:15:04 by simonm] add INSTALL_BIN_LINKS for linking things in $(bindir) --- mk/target.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mk/target.mk b/mk/target.mk index 5becd563c9f4..31365a3cbdd6 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -424,6 +424,7 @@ endif # get one install rule # # INSTALL_PROGS executable programs in $(bindir) +# INSTALL_BIN_LINKS symbolic links to executable programs in $(bindir) # INSTALL_SCRIPTS executable scripts in $(bindir) # INSTALL_LIBS platform-dependent libraries in $(libdir) (ranlib'ed) # INSTALL_LIBEXECS platform-dependent execs in $(libdir) @@ -467,6 +468,14 @@ install:: $(INSTALL_PROGS) done endif +ifneq "$(INSTALL_BIN_LINKS)" "" +install:: $(INSTALL_BIN_LINKS) + @$(INSTALL_DIR) $(bindir) + for i in $(INSTALL_BIN_LINKS); do \ + $(INSTALL_PROGRAM) $(INSTALL_OPTS) $$i$(exeext) $(bindir); \ + done +endif + # # Just like INSTALL_PROGS, but prefix with install sites bin/lib/data and # install without stripping. -- GitLab