X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=d0b081d7c88da8f3fb199029df2408de845365fa;hb=54b748e03297e970bbef9d00a96139798009af0d;hp=d2cd6b885359c661019c960f1a20cb51f810b155;hpb=06781a444251b6aabfd9079f85ebcfa794f9db23;p=ghc-hetmet.git diff --git a/Makefile b/Makefile index d2cd6b8..d0b081d 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) @@ -595,7 +597,7 @@ DIST_CLEAN_FILES += config.cache config.status mk/config.h mk/stamp-h \ docs/users_guide/ug-book.xml extra-gcc-opts # don't clean config.mk: it's needed when cleaning stuff later on -LATE_DIST_CLEAN_FILES += mk/config.mk +LATE_DIST_CLEAN_FILES += mk/config.mk mk/are-validating.mk # VERSION is shipped in a source dist MAINTAINER_CLEAN_FILES += VERSION