1### Please modify and send me improvements
2
3python=/opt/libreoffice4.4/program/python
4unoconv=../unoconv
5
6all: clean doc6 doc95 doc docbook fodt html mediawiki ooxml pdf rtf sdw3 sdw4 sdw sxw text txt uot xhtml
7	@echo "== Tests finished."
8
9#xml: curriculum-vitae-dag-wieers.txt
10#	asciidoc -b docbook -d article curriculum-vitae-dag-wieers.txt
11
12#odt: xml
13#	rm -f curriculum-vitae-dag-wieers.odt
14#	docbook2odf --params generate.meta=0 curriculum-vitae-dag-wieers.xml
15
16%:
17#	-killall ooffice soffice.bin
18	@echo "- Convert document-example.odt to $@..."
19	-$(python) $(unoconv) -vvv -p 2002 -f $@ document-example.odt
20	@echo
21#	@ps aux | grep office
22#	-unoconv -f $@ dag.gif
23#	docbook2pdf -d curriculum-vitae.dsl#print curriculum-vitae-dag-wieers.xml
24
25clean:
26	@echo "== Tests started. (some may fail)"
27	@rm -f *.{bib,doc,html,pdb,pdf,psw,rtf,ltx,sdw,sxw,txt,xml}
28	@rm -f *.{jpg,png,svg,wmf}
29	@rm -f *.{xls}
30	@rm -f *.{pps,ppt}
31