diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-06-02 12:16:18 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-06-02 12:16:18 +0000 |
commit | 467f1aa698446b99d365122a2a30d1618f2bec74 (patch) | |
tree | f9f665f3fb1b8e443da4046619015f26cc7b9c63 /ghc.mk | |
parent | e657b7fb12f1beafd95b5cacee2400312c1098a6 (diff) | |
download | haskell-467f1aa698446b99d365122a2a30d1618f2bec74.tar.gz |
fix 'make sdist'
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -819,7 +819,7 @@ SRC_DIST_FILES += \ aclocal.m4 README ANNOUNCE HACKING LICENSE Makefile install-sh \ ghc.spec.in ghc.spec extra-gcc-opts.in VERSION boot ghc.mk -SRC_DIST_TARBALL = ghc-$(ProjectVersion)-src.tar.bz2 +SRC_DIST_TARBALL = $(SRC_DIST_NAME)-src.tar.bz2 VERSION : echo $(ProjectVersion) >VERSION @@ -842,7 +842,7 @@ sdist_file = \ .PHONY: sdist-prep sdist-prep : "$(RM)" $(RM_OPTS) -r $(SRC_DIST_DIR) - "$(RM)" $(SRC_DIST_NAME).tar.gz + "$(RM)" $(RM_OPTS) $(SRC_DIST_TARBALL) mkdir $(SRC_DIST_DIR) ( cd $(SRC_DIST_DIR) \ && for i in $(SRC_DIST_DIRS); do mkdir $$i; (cd $$i && lndir $(TOP)/$$i ); done \ |