Update of /cvsroot/mhonarc/mharc
In directory subversions:/tmp/cvs-serv27664
Modified Files:
Makefile
Log Message:
* Added syntax_check target to verify the syntax of Perl programs.
Target included release target dependency list.
Index: Makefile
===================================================================
RCS file: /cvsroot/mhonarc/mharc/Makefile,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** Makefile 9 Jul 2002 01:39:01 -0000 1.23
--- Makefile 9 Jul 2002 01:53:21 -0000 1.24
***************
*** 26,37 ****
help editidxonly release clean distclean configure mhonarc-check
! READ_MAIL = bin/read-mail
! WEB_ARCHIVE = bin/web-archive
! MK_PROCMAILRC = bin/mk-procmailrc
! APPLY_CONFIG = bin/apply-config
! MHA_CHECK = bin/mhonarc-check
! CONFIG_SH = lib/config.sh
! LIST_DEF = lib/lists.def
NO_ARCHIVE = .noarchive
--- 26,39 ----
help editidxonly release clean distclean configure mhonarc-check
! READ_MAIL = ./bin/read-mail
! WEB_ARCHIVE = ./bin/web-archive
! MK_PROCMAILRC = ./bin/mk-procmailrc
! APPLY_CONFIG = ./bin/apply-config
! MHA_CHECK = ./bin/mhonarc-check
! COMPRESS_FILES = ./bin/compress-files
! COMPRESS_MBOXES = ./bin/compress-mboxes
! CONFIG_SH = ./lib/config.sh
! LIST_DEF = ./lib/lists.def
NO_ARCHIVE = .noarchive
***************
*** 173,178 ****
TAR_EXC_FILE = dist/.dist-exclude
! release: dist
dist:
--- 175,188 ----
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
dist:
***************
*** 191,194 ****
--- 201,210 ----
$(TAR) cvf ../$(DIST_BUNDLE) . ; \
$(GZIP) ../$(DIST_BUNDLE) )
+
+ syntax_check:
+ @for i in $(PERL_PRGS); do \
+ echo "Checking $$i syntax..."; \
+ $(PERL) -cw $$i; \
+ done
distclean: clean
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV