Commit 691658e1 authored by Clément Stenac's avatar Clément Stenac

* Removed my last modifications as we remove the PS target

* Updated make clean for internationalization
parent e74736fa
......@@ -77,4 +77,4 @@ $(LANG:%=$(DOC)-%.txt): %.txt: %.xml
make $(DOC)-$(LANG).xml
clean:
rm -f *.zip *.html *.pdf *.ps *.rtf *.txt *.dvi *.tex *.out *.aux *.log *.tmp $(DOC)-*.xml
rm -rf *.zip *.html *.pdf *.rtf *.txt *.dvi *.tex *.out *.aux *.log *.tmp $(DOC)-*.xml $(foreach lang, $(LANG), $(DOC)-$(lang))
......@@ -75,4 +75,5 @@ $(LANG:%=$(DOC)-%.txt): %.txt: %.xml
make $(DOC)-$(LANG).xml
clean:
rm -f *.zip *.html *.pdf *.ps *.rtf *.txt *.dvi *.tex *.out *.aux *.log *.tmp $(DOC)-*.xml
rm -rf *.zip *.html *.pdf *.rtf *.txt *.dvi *.tex *.out *.aux *.log *.tmp $(DOC)-*.xml $(foreach lang, $(LANG), $(DOC)-$(lang))
......@@ -31,8 +31,6 @@ $(LANG:%=$(DOC)-%.html): %.html: %.xml
mkdir -p $(basename $@)
mv *.html $(basename $@)
ln -sf $(DOC)-en/index.html $(DOC)-en.html
rm -f $(DOC)-*.xml
make $(DOC)-$(LANG).xml
$(LANG:%=$(DOC)-%.ps): %.ps: %.xml
/bin/cp ../common/magic-eps.xml ../common/magic.xml
......@@ -43,8 +41,6 @@ $(LANG:%=$(DOC)-%.ps): %.ps: %.xml
rm -f *.tex *.out *.aux *.log
dvips -o $@ $(basename $@).dvi
zip $(basename $@)-ps.zip $@ images/*.jpg
rm -f $(DOC)-*.xml
make $(DOC)-$(LANG).xml
$(LANG:%=$(DOC)-%.pdf): %.pdf: %.xml
......@@ -55,16 +51,12 @@ $(LANG:%=$(DOC)-%.pdf): %.pdf: %.xml
pdfjadetex $(basename $@).tex
rm -f *.tex *.out *.aux *.log
zip $(basename $@)-pdf.zip $@ images/*.jpg
rm -f $(DOC)-*.xml
make $(DOC)-$(LANG).xml
$(LANG:%=$(DOC)-%.rtf): %.rtf: %.xml
/bin/cp ../common/magic-jpg.xml ../common/magic.xml
jade -t rtf -d ../common/stylesheet-print-noicones.dsl -o $@ $(XML_DECL) $^
rm -f $(basename $@)-rtf.zip
zip $(basename $@)-rtf.zip $@ images/*.jpg
rm -f $(DOC)-*.xml
make $(DOC)-$(LANG).xml
$(LANG:%=$(DOC)-%.txt): %.txt: %.xml
/bin/cp ../common/magic-jpg.xml ../common/magic.xml
......@@ -72,8 +64,6 @@ $(LANG:%=$(DOC)-%.txt): %.txt: %.xml
# w3m -dump $^.html > $@
lynx -force_html -dump $^.html > $@
rm -f $^.html
rm -f $(DOC)-*.xml
make $(DOC)-$(LANG).xml
clean:
rm -f *.zip *.html *.pdf *.ps *.rtf *.txt *.dvi *.tex *.out *.aux *.log *.tmp $(DOC)-*.xml
rm -rf *.zip *.html *.pdf *.rtf *.txt *.dvi *.tex *.out *.aux *.log *.tmp $(DOC)-*.xml $(foreach lang, $(LANG), $(DOC)-$(lang))
......@@ -76,4 +76,4 @@ $(LANG:%=$(DOC)-%.txt): %.txt: %.xml
make $(DOC)-$(LANG).xml
clean:
rm -f *.zip *.html *.pdf *.ps *.rtf *.txt *.dvi *.tex *.out *.aux *.log *.tmp $(DOC)-*.xml
rm -rf *.zip *.html *.pdf *.rtf *.txt *.dvi *.tex *.out *.aux *.log *.tmp $(DOC)-*.xml $(foreach lang, $(LANG), $(DOC)-$(lang))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment