[Lxml-checkins] r53875 - lxml/trunk

scoder at codespeak.net scoder at codespeak.net
Sat Apr 19 17:25:13 CEST 2008


Author: scoder
Date: Sat Apr 19 17:25:12 2008
New Revision: 53875

Modified:
   lxml/trunk/   (props changed)
   lxml/trunk/Makefile
Log:
 r4015 at delle:  sbehnel | 2008-04-19 17:11:48 +0200
 name PDF doc after lxml version, let 'make docclean' delete doc/pdf


Modified: lxml/trunk/Makefile
==============================================================================
--- lxml/trunk/Makefile	(original)
+++ lxml/trunk/Makefile	Sat Apr 19 17:25:12 2008
@@ -54,7 +54,8 @@
 pdf:
 	$(PYTHON) doc/mklatex.py doc/pdf . ${LXMLVERSION}
 	(cd doc/pdf && pdflatex lxmldoc.tex && pdflatex lxmldoc.tex)
-	@echo "PDF available as doc/pdf/lxmldoc.pdf"
+	@mv doc/pdf/lxmldoc.pdf doc/pdf/lxmldoc-${LXMLVERSION}.pdf
+	@echo "PDF available as doc/pdf/lxmldoc-${LXMLVERSION}.pdf"
 
 # Two pdflatex runs are needed to build the correct Table of contents.
 
@@ -75,6 +76,7 @@
 docclean:
 	rm -f doc/html/*.html
 	rm -fr doc/html/api
+	rm -fr doc/pdf
 
 realclean: clean docclean
 	find . -name '*.c' -exec rm -f {} \;


More information about the lxml-checkins mailing list