diff options
author | panne <unknown> | 2004-09-21 17:49:22 +0000 |
---|---|---|
committer | panne <unknown> | 2004-09-21 17:49:22 +0000 |
commit | a60e671bc05b648bc8291ec74d238ccb4b3c458b (patch) | |
tree | 1821d1468409a7ab85e4d25355f8d3699e79ce1f /Makefile | |
parent | 9a252aec34c0b13e4da919dee58a7164a4928c6e (diff) | |
download | haskell-a60e671bc05b648bc8291ec74d238ccb4b3c458b.tar.gz |
[project @ 2004-09-21 17:49:22 by panne]
* Added new target for creating *.bz2 source distributions
* Cleanup *.tar.gz / *.tar.bz2 when things go wrong
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -404,8 +404,11 @@ dist-package :: dist-package-tar-gz SRC_DIST_PATHS = $(patsubst %, $(SRC_DIST_NAME)/%, $(SRC_DIST_FILES) $(SRC_DIST_DIRS)) +dist-package-tar-bz2 :: + BZIP2=-9 $(TAR) chjf $(SRC_DIST_NAME)-src.tar.bz2 $(SRC_DIST_NAME) || $(RM) $(SRC_DIST_NAME)-src.tar.bz2 + dist-package-tar-gz :: - $(TAR) chzf $(SRC_DIST_NAME)-src.tar.gz $(SRC_DIST_NAME) + $(TAR) chzf $(SRC_DIST_NAME)-src.tar.gz $(SRC_DIST_NAME) || $(RM) $(SRC_DIST_NAME)-src.tar.gz dist-package-zip :: cd ..; $(LN_S) $(FPTOOLS_TOP_ABS) $(SRC_DIST_NAME) && \ |