summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-08-20 13:41:41 +0000
committerIan Lynagh <igloo@earth.li>2008-08-20 13:41:41 +0000
commit9989020402ae0fcc02fef7412df846321bc1d9b3 (patch)
treebb977d69ee5aa22006a3fa2ee458f29505557a95 /Makefile
parent391a299af4deb7bd593696ee6d53ac8f5c4667e1 (diff)
downloadhaskell-9989020402ae0fcc02fef7412df846321bc1d9b3.tar.gz
Don't put symlinks in bindists, but the files they point at instead
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7adec86ad1..d0b081d7c8 100644
--- a/Makefile
+++ b/Makefile
@@ -389,7 +389,9 @@ endif
$(RM) -f $(BIN_DIST_NAME)
ln -s . $(BIN_DIST_NAME)
- tar cf $(BIN_DIST_TAR) -T $(BIN_DIST_LIST)
+# h means "follow symlinks", e.g. if aclocal.m4 is a symlink to a source
+# tree then we want to include the real file, not a symlink to it
+ tar hcf $(BIN_DIST_TAR) -T $(BIN_DIST_LIST)
cd $(BIN_DIST_PREP_DIR) && tar rf $(BIN_DIST_TAR) $(BIN_DIST_NAME)
bzip2 < $(BIN_DIST_TAR) > $(BIN_DIST_TAR_BZ2)
tar tf $(BIN_DIST_TAR) | sort > bin-manifest-$(ProjectVersion)