mhonarc-commits
[Top] [All Lists]

CVS: mharc Makefile,1.32,1.33

2002-09-23 11:48:12
Update of /cvsroot/mhonarc/mharc
In directory subversions:/tmp/cvs-serv19465

Modified Files:
	Makefile 
Log Message:
* dist target now bundles everything up so mharc files are contained
  in the directory "mharc-X.X.X", where X.X.X is the release version.
* syntax_check now checks all Perl scripts in bin directory and
  install.pl.


Index: Makefile
===================================================================
RCS file: /cvsroot/mhonarc/mharc/Makefile,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** Makefile	20 Sep 2002 03:04:58 -0000	1.32
--- Makefile	23 Sep 2002 18:48:07 -0000	1.33
***************
*** 27,30 ****
--- 27,31 ----
  	doc doc_pod doc_file doc_install
  
+ INSTALL_PL	= ./install.pl
  APPLY_CONFIG	= ./bin/apply-config
  COMPRESS_FILES	= ./bin/compress-files
***************
*** 40,43 ****
--- 41,45 ----
  
  PRGS		= \
+ 		  $(INSTALL_PL) \
  		  $(MH_MONTH_PACK) \
  		  $(MBOX_MONTH_PACK) \
***************
*** 157,161 ****
  	-(_at_)echo "      disable auto-processing.  Execute 'enable' target to"
  	-(_at_)echo "      reenable."
! 	-(_at_)echo "WARNING: The 'clean' target should not have to be invoked."
  	-(_at_)echo "         But if done, it removes all .in generated files.  The"
  	-(_at_)echo "         'configure' target can be executed to regenerate"
--- 159,163 ----
  	-(_at_)echo "      disable auto-processing.  Execute 'enable' target to"
  	-(_at_)echo "      reenable."
! 	-(_at_)echo "CAUTION: The 'clean' target should not have to be invoked."
  	-(_at_)echo "         But if done, it removes all .in generated files.  The"
  	-(_at_)echo "         'configure' target can be executed to regenerate"
***************
*** 178,181 ****
--- 180,189 ----
  # NOTE: The leading '.' is important.
  DIST_FILES	= \
+ 		  ./README \
+ 		  ./INSTALL \
+ 		  ./NEWS \
+ 		  ./COPYING \
+ 		  ./TODO \
+ 		  ./install.pl \
  		  ./doc \
  		  ./bin \
***************
*** 186,194 ****
  		  ./lib \
  		  ./Makefile \
- 		  ./README \
- 		  ./INSTALL \
- 		  ./NEWS \
- 		  ./COPYING \
- 		  ./TODO \
  		  # End DIST_FILES
  
--- 194,197 ----
***************
*** 201,212 ****
  TAR_EXC_FILE	= dist/.dist-exclude
  
! PERL_PRGS = \
! 	    $(WEB_ARCHIVE) \
! 	    $(MK_PROCMAILRC) \
! 	    $(APPLY_CONFIG) \
! 	    $(MHA_CHECK) \
! 	    $(COMPRESS_FILES) \
! 	    $(COMPRESS_MBOXES) \
! 	    # End PERL_PRGS
  
  release: syntax_check dist
--- 204,208 ----
  TAR_EXC_FILE	= dist/.dist-exclude
  
! PERL_PRGS = $(PRGS)
  
  release: syntax_check dist
***************
*** 216,222 ****
--- 212,220 ----
  	@$(MKDIR) -p dist/mharc
  	@$(FIND) . -name 'CVS' -print > $(TAR_EXC_FILE)
+ 	@$(FIND) . -name '.*.sw*' -print >> $(TAR_EXC_FILE)
  	@for i in $(DIST_EXC_FILES); do \
  	  echo $$i >> $(TAR_EXC_FILE); \
  	 done
+ 	@$(TOUCH) INSTALL
  	@$(TAR) -c \
  	        -X $(TAR_EXC_FILE) \
***************
*** 225,232 ****
  	@(cd dist/mharc && $(MAKE) doc)
  	@(cd dist/mharc && $(MAKE) doc_pod)
! 	@(cd dist/mharc; \
! 	  echo "$(_RELEASE_VERSION)" > VERSION ; \
! 	  $(TAR) cvf ../$(DIST_BUNDLE) . ; \
! 	  $(GZIP) ../$(DIST_BUNDLE) )
  
  syntax_check: _FORCE
--- 223,230 ----
  	@(cd dist/mharc && $(MAKE) doc)
  	@(cd dist/mharc && $(MAKE) doc_pod)
! 	@(cd dist/mharc && echo "$(_RELEASE_VERSION)" > VERSION)
! 	@$(MV) dist/mharc dist/mharc-$(_RELEASE_VERSION)
! 	@(cd dist && $(TAR) cvf $(DIST_BUNDLE) mharc-$(_RELEASE_VERSION))
! 	@(cd dist && $(GZIP) $(DIST_BUNDLE))
  
  syntax_check: _FORCE

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV