projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
391a299
)
Don't put symlinks in bindists, but the files they point at instead
author
Ian Lynagh
<igloo@earth.li>
Wed, 20 Aug 2008 13:41:41 +0000
(13:41 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Wed, 20 Aug 2008 13:41:41 +0000
(13:41 +0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
7adec86
..
d0b081d
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-389,7
+389,9
@@
endif
$(RM) -f $(BIN_DIST_NAME)
ln -s . $(BIN_DIST_NAME)
$(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)
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)