Update of mharc
Modified Files:
Makefile NEWS
Added Files:
dev.mk vars.mk
Log Message:
* bin/mk-procmailrc:
. Added List-Id option to match a message based upon its
List-Id: header field.
* bin/mbox-month-pack:
. Added -usesepdate: The date specified in the mailbox message
separator line will be used instead of the date information
in the mail header.
* Makefile:
. Separated out developer targets into dev.mk, protecting active
archives from getting messed up if one accidentally invoked
something like 'make clean' or 'make distclean'.
======================================================================
FILE: mharc/dev.mk
<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/*checkout*/mharc/dev.mk?rev=1.1>
--- NEW FILE ---
======================================================================
FILE: mharc/vars.mk
<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/*checkout*/mharc/vars.mk?rev=1.1>
--- NEW FILE ---
======================================================================
FILE: mharc/Makefile
<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/*checkout*/mharc/Makefile?rev=1.37>
<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/mharc/Makefile.diff?r1=1.36&r2=1.37&diff_format=h>
--- Makefile 27 Dec 2004 23:52:26 -0000 1.36
+++ Makefile 22 Feb 2007 21:07:02 -0000 1.37
@@ -23,7 +23,8 @@
##--------------------------------------------------------------------------##
-.PHONY: default editidx rebuild rootidx dist enable disable readmail \
- help editidxonly release clean distclean configure mhonarc-check \
- doc doc_pod doc_file doc_install
+.PHONY: default editidx rebuild rootidx enable disable readmail \
+ help editidxonly configure mhonarc-check
+
+include vars.mk
INSTALL_PL = ./install.pl
@@ -161,10 +162,10 @@
-(_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"
- -(_at_)echo " file from templates"
- -(_at_)echo "WARNING: The 'dist' and 'distclean' targets should only be"
- -(_at_)echo " invoked IF YOU KNOW WHAT YOU ARE DOING!"
+ -(_at_)echo "NOTE: Some targets support defining the MLISTS variable when"
+ -(_at_)echo " when invoked to only apply operations on the space"
+ -(_at_)echo " separated archive/list names specified."
+ -(_at_)echo "NOTE: For more advanced processing options on the archives,"
+ -(_at_)echo " invoke $(WEB_ARCHIVE) directly."
+ -(_at_)echo " See web-archive documentation for information."
@@ -172,112 +173,2 @@
_FORCE:
-##--------------------------------------------------------------------------##
-## The following targets are mainly intended by mharc developers
-## and used for creating releases
-##--------------------------------------------------------------------------##
-
-DIST_BUNDLE = mharc-$(_RELEASE_VERSION).tar
-
-# List of files/dirs to be included in distribtion bundle
-# NOTE: The leading '.' is important.
-DIST_FILES = \
- ./README \
- ./INSTALL \
- ./NEWS \
- ./COPYING \
- ./TODO \
- ./install.pl \
- ./doc \
- ./bin \
- ./cgi-bin \
- ./etc \
- ./html/.PNM* \
- ./html/stylesheet.css* \
- ./lib \
- ./Makefile \
- # End DIST_FILES
-
-# List of files/dirs to explicitly exclude from distribtion bundle
-# NOTE: The leading '.' is important.
-DIST_EXC_FILES = \
- ./etc/release-mharc \
- # End DIST_EXC_FILES
-
-TAR_EXC_FILE = dist/.dist-exclude
-
-PERL_PRGS = $(PRGS)
-
-release: syntax_check dist
-
-dist: _FORCE
- @$(RM) -rf dist
- @$(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) \
- -f - $(DIST_FILES) | (cd dist/mharc; tar xfp -)
- @(cd dist/mharc && $(MAKE) distclean)
- @(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
- @for i in $(PERL_PRGS); do \
- echo "Checking $$i syntax..."; \
- $(PERL) -cw $$i; \
- done
-
-# doc_pod listed twice to resolve xrefs
-doc: doc_pod doc_file doc_install
-
-doc_pod: _FORCE
- -(_at_)mkdir -p ./doc/bin ./doc/lib ./doc/file
- @for i in $(PRGS); do \
- echo "processing $$i..." ; \
- pod2html --header --infile=$$i \
- --htmlroot=.. \
- --podroot=./doc \
- --podpath='bin:lib' \
- --outfile=./doc/bin/`basename $$i`.html ; \
- done
- @for i in `find ./lib/MHArc -name '*.pm' -print`; do \
- echo "processing $$i..." ; \
- pod2html --header \
- --infile=$$i \
- --htmlroot=.. \
- --podroot=./doc \
- --podpath='bin:lib' \
- --outfile=./doc/lib/MHArc::`basename $$i`.html ; \
- done
- @$(RM) -f pod2htm*.x~~
-
-doc_file: _FORCE
- $(CP) -f Makefile ./doc/file/Makefile.txt
- $(CP) -f ./lib/default.mrc.in.dist ./doc/file/default.mrc.txt
- $(CP) -f ./lib/common.mrc.in.dist ./doc/file/common.mrc.txt
- $(CP) -f ./lib/config.sh.dist ./doc/file/config.sh.txt
- $(CP) -f ./lib/lists.def.dist ./doc/file/lists.def.txt
- $(CP) -f ./etc/apache.conf.in.dist ./doc/file/apache.conf.txt
- $(CP) -f ./etc/crontab.in.dist ./doc/file/crontab.txt
- $(CP) -f ./etc/.htaccess.in.dist ./doc/file/htaccess.txt
-
-doc_install:
- w3m -dump -cols 76 ./doc/install.html > INSTALL
-
-distclean: clean
- $(APPLY_CONFIG) -distclean -verbose
- $(RM) -f $(CONFIG_SH) $(CONFIG_SH).cache.pl $(LIST_DEF) VERSION INSTALL
- $(RM) -rf ./dist ./doc/bin ./doc/lib ./doc/file
-
-clean: _FORCE
- $(RM) -f $(PROCMAIL_RC)
- $(APPLY_CONFIG) -clean -verbose
-
======================================================================
FILE: mharc/NEWS
<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/*checkout*/mharc/NEWS?rev=1.50>
<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/mharc/NEWS.diff?r1=1.49&r2=1.50&diff_format=h>
--- NEWS 27 Dec 2004 23:52:26 -0000 1.49
+++ NEWS 22 Feb 2007 21:07:02 -0000 1.50
@@ -1,4 +1,4 @@
===========================================================================
-2004/MM/DD: vX.X.X
+2007/MM/DD: vX.X.X
* bin/web-archive:
@@ -11,4 +11,19 @@
MSG_DATE_FIELDS in config.sh.
+* bin/mk-procmailrc:
+ . Added List-Id option to match a message based upon its
+ List-Id: header field.
+
+* bin/mbox-month-pack:
+ . Added -usesepdate: The date specified in the mailbox message
+ separator line will be used instead of the date information
+ in the mail header.
+
+* bin/mh-month-pack:
+ . Changes made to protect against unintentional modification of
+ MH context. This is done by setting MH_CONTEXT envariable
+ to /dev/null and explicitly specifying folder to each MH
+ command invoked.
+
* lib/default.mrc.in.dist:
. New default resource file. Before, the use of this file was
@@ -23,4 +38,9 @@
. MHA_RC changed to $SW_ROOT/lib/default.mrc.
+* Makefile:
+ . Separated out developer targets into dev.mk, protecting active
+ archives from getting messed up if one accidentally invoked
+ something like 'make clean' or 'make distclean'.
+
===========================================================================
2003/08/09: v0.7.3
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-COMMITS