[Spambayes-checkins] website Makefile,1.8,1.9
Mark Hammond
mhammond at users.sourceforge.net
Thu Jul 31 02:27:53 EDT 2003
Update of /cvsroot/spambayes/website
In directory sc8-pr-cvs1:/tmp/cvs-serv27432
Modified Files:
Makefile
Log Message:
Don't stream html.py output through sed etc, as on Windows at least,
this prevents the failure of html.py from aborting the build. Instead
we generate to a temp file, which does cause a fatal error.
Index: Makefile
===================================================================
RCS file: /cvsroot/spambayes/website/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** Makefile 29 Jul 2003 02:07:14 -0000 1.8
--- Makefile 31 Jul 2003 08:27:51 -0000 1.9
***************
*** 18,26 ****
DUHTML = html.py
faq.ht : faq.txt
echo "Title: SpamBayes FAQ" > faq.ht
echo "Author-Email: SpamBayes at python.org" >> faq.ht
echo "Author: SpamBayes" >> faq.ht
echo "" >> faq.ht
! $(DUHTML) faq.txt | sed -e '1,/<body>/d' -e '/<\/body>/,$$d' >> faq.ht
faq.html : faq.ht
--- 18,28 ----
DUHTML = html.py
faq.ht : faq.txt
+ $(DUHTML) faq.txt > faq.body.tmp
echo "Title: SpamBayes FAQ" > faq.ht
echo "Author-Email: SpamBayes at python.org" >> faq.ht
echo "Author: SpamBayes" >> faq.ht
echo "" >> faq.ht
! cat faq.body.tmp | sed -e '1,/<body>/d' -e '/<\/body>/,$$d' >> faq.ht
! rm faq.body.tmp
faq.html : faq.ht
More information about the Spambayes-checkins
mailing list