summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorsimonmar <unknown>2003-02-12 10:32:38 +0000
committersimonmar <unknown>2003-02-12 10:32:38 +0000
commit49a478ab8bc97e2cbe6958a31cc6f3235c667d09 (patch)
treee7dd5fc58f11d0d07cf5d2736f8f45f4a49ace41 /Makefile
parent77b2c81daf347e4574353dec381804739ba19fb8 (diff)
downloadhaskell-49a478ab8bc97e2cbe6958a31cc6f3235c667d09.tar.gz
[project @ 2003-02-12 10:32:38 by simonmar]
Adapt the dist target a little to work with the nightly build's new way of building source dists. It now works by building a link tree to the build tree, and doing 'make dist' on the link tree, to avoid destroying the real build tree. This just needed a couple of tweaks to the dist target to work.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 76ba2f9bed..92c4b13485 100644
--- a/Makefile
+++ b/Makefile
@@ -281,8 +281,8 @@ dist ::
-$(RM) $(SRC_DIST_NAME).tar.gz
mkdir $(SRC_DIST_DIR)
mkdir $(SRC_DIST_DIR)/mk
- ( cd $(FPTOOLS_TOP_ABS); $(FIND) $(SRC_DIST_DIRS) -type d \( -name CVS -prune -o -name SRC -prune -o -print \) | sed -e 's!.*!mkdir "$(SRC_DIST_DIR)/&"!' | sh )
- ( cd $(FPTOOLS_TOP_ABS); $(FIND) $(SRC_DIST_DIRS) $(SRC_DIST_FILES) -name CVS -prune -o -name SRC -prune -o -name "*~" -prune -o -name ".cvsignore" -prune -o -name "\#*" -prune -o -name ".\#*" -prune -o -name "log" -prune -o -name "*-SAVE" -prune -o -name "*.orig" -prune -o -name "*.rej" -prune -o ! -type d -print | sed -e 's!.*!$(LN_S) "$(FPTOOLS_TOP_ABS)/&" "$(SRC_DIST_DIR)/&"!' | sh )
+ $(FIND) $(SRC_DIST_DIRS) -type d \( -name CVS -prune -o -name SRC -prune -o -print \) | sed -e 's!.*!mkdir "$(SRC_DIST_DIR)/&"!' | sh
+ $(FIND) $(SRC_DIST_DIRS) $(SRC_DIST_FILES) -name CVS -prune -o -name SRC -prune -o -name "*~" -prune -o -name ".cvsignore" -prune -o -name "\#*" -prune -o -name ".\#*" -prune -o -name "log" -prune -o -name "*-SAVE" -prune -o -name "*.orig" -prune -o -name "*.rej" -prune -o ! -type d -print | sed -e 's!.*!$(LN_S) "$(FPTOOLS_TOP_ABS)/&" "$(SRC_DIST_DIR)/&"!' | sh
# Automatic generation of a MANIFEST file for a source distribution
# tree that is ready to go.