summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorsewardj <unknown>2001-04-03 15:08:35 +0000
committersewardj <unknown>2001-04-03 15:08:35 +0000
commit0147f8cce1d6c972de066df2da627206bb8b2e8d (patch)
tree1cb6e63e4b28c26c33cc7dd719926c9122c192f5 /Makefile
parent8eda4709fdb427ad135776c9584afff102246174 (diff)
downloadhaskell-0147f8cce1d6c972de066df2da627206bb8b2e8d.tar.gz
[project @ 2001-04-03 15:08:35 by sewardj]
Fix up make-inplace for binary distribs.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bd759ee06b..7036d7c0f8 100644
--- a/Makefile
+++ b/Makefile
@@ -155,7 +155,14 @@ binary-dist::
@echo "Generating a shippable configure script.."
$(MV) $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/configure-bin.in $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)/configure.in
( cd $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME); autoconf )
- cp $(BIN_DIST_MAIN_DIR)/mk/post-install-script $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME)
+ if test -x $(BIN_DIST_MAIN_DIR)/mk/post-install-script ; then \
+ cp $(BIN_DIST_MAIN_DIR)/mk/post-install-script \
+ $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME) ; \
+ fi
+ if test -x $(BIN_DIST_MAIN_DIR)/mk/post-inplace-script ; then \
+ cp $(BIN_DIST_MAIN_DIR)/mk/post-inplace-script \
+ $(BIN_DIST_TMPDIR)/$(BIN_DIST_NAME) ; \
+ fi
#
# binary dist'ing the documentation.
# Which documentation to build/install is hardcoded below.