-binary-dist::
- @echo "Mechanical and super-natty! Inspect the result and *if* happy; freeze, sell and get some sleep!"
-
-# -----------------------------------------------------------------------------
-# Building source distributions
-#
-# Do it like this:
-#
-# $ make
-# $ make dist Project=Ghc
-#
-# WARNING: `make dist' calls `make distclean' before tarring up the tree.
-#
-
-.PHONY: dist
-
-#
-# Directory in which we're going to build the src dist
-#
-SRC_DIST_DIR=$(shell pwd)/$(SRC_DIST_NAME)
-
-#
-# Files to include in source distributions
-#
-SRC_DIST_DIRS += docs distrib $(Projects)
-SRC_DIST_FILES += \
- configure.in config.guess config.sub configure \
- aclocal.m4 acconfig.h README Makefile install-sh \
- mk/boilerplate.mk mk/config.h.in mk/config.mk.in mk/opts.mk \
- mk/paths.mk mk/suffix.mk mk/target.mk
-
-dist dist-manifest dist-package :: project-check
-
-# clean the tree first, leaving certain extra files in place (eg. configure)
-dist :: distclean
-
-dist ::
- -rm -rf $(SRC_DIST_DIR)
- -rm -f $(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 -name tests -prune -o -exec mkdir $(SRC_DIST_DIR)/{} \; \) ; )
- ( cd $(FPTOOLS_TOP_ABS); $(FIND) $(SRC_DIST_DIRS) $(SRC_DIST_FILES) -name CVS -prune -o -name SRC -prune -o -name tests -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 -exec $(LN_S) $(FPTOOLS_TOP_ABS)/{} $(SRC_DIST_DIR)/{} \; )
-
-# Automatic generation of a MANIFEST file for a source distribution
-# tree that is ready to go.
-dist-manifest ::
- cd $(SRC_DIST_DIR); $(FIND) . \( -type l -o -type f \) -exec ls -lLG {} \; | sed -e 's/\.\///' > MANIFEST.tmp ; mv MANIFEST.tmp MANIFEST
-
-dist-package :: dist-package-tar-gz