From 3d786625fa5937ffcd7067bf9d9f3305b40260a8 Mon Sep 17 00:00:00 2001 From: bringert Date: Sun, 8 Jul 2007 18:32:45 +0000 Subject: [PATCH] Use darcs dist instead of darcs get in make dist. This should get around the problem with partial repositories. --- src/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index e59eb2c28..8c38af09f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -214,8 +214,9 @@ lib: dist: -rm -rf $(DIST_DIR) - darcs get --repo-name=$(DIST_DIR) .. - rm -rf $(DIST_DIR)/_darcs + darcs dist --dist-name=$(DIST_DIR) + tar -zxf ../$(DIST_DIR).tar.gz + rm ../$(DIST_DIR).tar.gz cd $(DIST_DIR)/src && perl -pi -e "s/^AC_INIT\(\[GF\],\[[^\]]*\]/AC_INIT([GF],[$(PACKAGE_VERSION)]/" configure.ac cd $(DIST_DIR)/src && autoconf && rm -rf autom4te.cache # cd $(DIST_DIR)/grammars && sh mkLib.sh