Corrected error that prevented deletion of PT's temporary files

svn path=/trunk/; revision=1919
This commit is contained in:
jneves 2002-01-29 00:31:07 +00:00
parent 5df941d525
commit 0de9d57f63

View File

@ -92,7 +92,7 @@ $(PTPAGES): %.html: %.xhtml fsfe.xsl navigation.pt.xsl tools/translate.sh
root=`dirname $$path | perl -pe 'chop; s:([^/]+):..:g if($$_ ne ".")'` ; \
langlinks="`./tools/translate.sh $$base pt`" ; \
$(XSLTPROC) fsfe.xsl $$path $(XSLTOPTS) '$$fsfeurope='$$root '$$filebase='$$filebase.pt '$$path='$$path '$$langlinks='"$$langlinks" > $$base.pt.html-temp && (cat $$base.pt.html-temp | perl -p -e '$$| = 1; (s/Date://, s/Author:/por/, s/\$$//g) if(/\$$''Date:/); s/mode: xml \*\*\*/mode: html \*\*\*/' > $$base.pt.html) ; \
rm -f $$base.html-temp
rm -f $$base.pt.html-temp
$(ITPAGES): %.html: %.xhtml fsfe.xsl navigation.it.xsl
@$(ECHO) "Building $@ ..."; \