From bc0eeca8c0e49ff50d5a2d154e486009aae97187 Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 8 Mar 2005 11:56:57 +0000 Subject: [PATCH] [project @ 2005-03-08 11:56:55 by simonmar] Allow for optional binary installation --- Makefile | 1 + distrib/Makefile-bin.in | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index da862f1..4f900d5 100644 --- a/Makefile +++ b/Makefile @@ -269,6 +269,7 @@ binary-dist:: echo "PACKAGE_LIB_PRL_SCRIPTS = $($(Project)BinDistLibPrlScripts)" >> $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/Makefile.in echo "PACKAGE_LIB_SPLICED_FILES = $($(Project)BinDistLibSplicedFiles)" >> $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/Makefile.in echo "PACKAGE_BINS = $($(Project)BinDistBins)" >> $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/Makefile.in + echo "PACKAGE_OPT_BINS = $($(Project)BinDistOptBins)" >> $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/Makefile.in echo "PACKAGE_LINKS = $($(Project)BinDistLinks)" >> $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/Makefile.in cat $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/Makefile-bin.in >> $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/Makefile.in @echo "Generating a shippable configure script.." diff --git a/distrib/Makefile-bin.in b/distrib/Makefile-bin.in index 0d28672..f4497da 100644 --- a/distrib/Makefile-bin.in +++ b/distrib/Makefile-bin.in @@ -223,6 +223,9 @@ install-bin: for i in $(PACKAGE_BINS) ""; do \ if test -n "$$i" ; then $(INSTALL_BIN) bin/$(platform)/$$i$(exeext) $(bindir); fi; \ done; + for i in $(PACKAGE_OPT_BINS) ""; do \ + if test -n "$$i" -a ! -e "$(bindir)/$$i" ; then $(INSTALL_BIN) bin/$(platform)/$$i$(exeext) $(bindir); fi; \ + done; @for i in $(VERSION_SYMLINKS_FOR) ""; do \ if [ "x$$i" != "x" ]; then \ ( cd $(bindir); \ -- 1.7.10.4