Commit f66972b5 authored by Simon Marlow's avatar Simon Marlow

make VERSION a dependency of dist

parent eb3de385
......@@ -66,11 +66,6 @@ endif
SUBDIRS = $(SUBDIRS_NOLIB) libraries
VERSION :
echo $(ProjectVersion) >VERSION
all :: VERSION
# Sanity check that all the core libraries are in the tree, to catch
# failure to run darcs-all.
check-packages :
......@@ -442,6 +437,11 @@ EXTRA_LIBS=$(patsubst %, $(SRC_DIST_NAME)/libraries/%, $(shell cat libraries/ext
SRC_DIST_TARBALL = ghc-$(ProjectVersion)-src.tar.bz2
SRC_DIST_EXTRALIBS_TARBALL = ghc-$(ProjectVersion)-src-extralibs.tar.bz2
VERSION :
echo $(ProjectVersion) >VERSION
dist :: VERSION
dist ::
$(RM) -rf $(SRC_DIST_DIR)
$(RM) $(SRC_DIST_NAME).tar.gz
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment