From f66972b52f6927f143d6f5b4ed4bdd1e3f2b6eb6 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Thu, 8 Feb 2007 12:15:55 +0000 Subject: [PATCH] make VERSION a dependency of dist --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index c81dc39..d4b93cc 100644 --- a/Makefile +++ b/Makefile @@ -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 -- 1.7.10.4