[Spambayes-checkins] website Makefile,1.10,1.11
Mark Hammond
mhammond at users.sourceforge.net
Tue Aug 12 22:00:00 EDT 2003
Update of /cvsroot/spambayes/website
In directory sc8-pr-cvs1:/tmp/cvs-serv16200
Modified Files:
Makefile
Log Message:
Require an explicit 'make version' to update Version.cfg on the website.
Index: Makefile
===================================================================
RCS file: /cvsroot/spambayes/website/Makefile,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** Makefile 6 Aug 2003 04:11:34 -0000 1.10
--- Makefile 13 Aug 2003 03:59:58 -0000 1.11
***************
*** 1,4 ****
# this def'n must occur before the include!
! EXTRA_TARGETS = reply.txt faq.html default.css download/Version.cfg
include scripts/make.rules
--- 1,14 ----
+ # Makefile for the SpamBayes website.
+ #
+ # targets supported:
+ # (default): generate all .html content locally. This includes the
+ # FAQ (.txt->.ht->.html) and the rest (.ht->.html)
+ # install: rsync the locally generated content (excluding Version.cfg)
+ # version: generate download/Version.cfg, and rsync to the website.
+ # Ensure you have *installed* the latest SpamBayes CVS before
+ # making this target.
+
# this def'n must occur before the include!
! EXTRA_TARGETS = reply.txt faq.html default.css
include scripts/make.rules
***************
*** 29,34 ****
--- 39,47 ----
./scripts/ht2html/ht2html.py -f -s SpamBayesFAQGenerator -r . ./faq.ht
+ version: download/Version.cfg
+
download/Version.cfg: $(VERSION_PY)
python $(VERSION_PY) -g > download/Version.cfg.tmp
+ rsync --rsh=$(RSYNC_RSH) -v -r -l -t $(LOCAL_INCLUDE) ./download/Version.cfg.tmp $(LIVE_DEST)/download/Version.cfg
mv -f download/Version.cfg.tmp download/Version.cfg
More information about the Spambayes-checkins
mailing list