From ee327002406eacd3b94dd9a3421eda635bf188cf Mon Sep 17 00:00:00 2001 From: agibert Date: Wed, 16 Jul 2003 23:37:37 +0000 Subject: [PATCH] Exclude CVS directory from distrib generation. --- Makefile.rule | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile.rule b/Makefile.rule index 9d9479a..8a4aa03 100644 --- a/Makefile.rule +++ b/Makefile.rule @@ -1,7 +1,7 @@ # $RCSfile: Makefile.rule,v $ -# $Revision: 1.3 $ +# $Revision: 1.4 $ # $Name: $ -# $Date: 2003/07/16 23:17:07 $ +# $Date: 2003/07/16 23:37:37 $ # $Author: agibert $ #------------------------------------------------------------------------------ @@ -352,7 +352,8 @@ distrib: $(MAKE) clean $(MKDIR) $(TMP_DIR)/$(PROG_VERSION_NAME) $(TAR) cf - . | $(TAR) xvpf - -C $(TMP_DIR)/$(PROG_VERSION_NAME) - $(TAR) cvf - -C $(TMP_DIR) $(PROG_VERSION_NAME) | $(GZIP) -9 >$(PROG_VERSION_NAME).src.tgz - $(TAR) cvf - -C $(TMP_DIR) $(PROG_VERSION_NAME) | $(BZIP2) -9 >$(PROG_VERSION_NAME).src.tbz2 + $(TAR) cvf - -C $(TMP_DIR) --exclude CVS $(PROG_VERSION_NAME) | $(GZIP) -9 >$(PROG_VERSION_NAME).src.tgz + $(TAR) cvf - -C $(TMP_DIR) --exclude CVS $(PROG_VERSION_NAME) | $(BZIP2) -9 >$(PROG_VERSION_NAME).src.tbz2 $(MV) $(TMP_DIR)/$(PROG_VERSION_NAME) . - $(ZIP) -r -m -9 -l $(PROG_VERSION_NAME).src.zip $(PROG_VERSION_NAME) + $(ZIP) -r -m -9 $(PROG_VERSION_NAME).src.zip $(PROG_VERSION_NAME) -x \*/CVS/\* + $(RM) -r $(PROG_VERSION_NAME)