Makefile 535 B

12345678910111213141516171819202122
  1. all: odf xml2odf.1
  2. txt: xml2odf.txt
  3. %.1: %.docbook
  4. xmlto man $<
  5. %.txt: %.docbook
  6. xmlto txt $<
  7. clean:
  8. rm -f *.1 *~ *.txt odf definitionlistsOutput*
  9. odf:
  10. ln -s ../odf
  11. test: clean odf
  12. @echo =============== output by Python2 ===================
  13. @python3 xml2odf -o definitionlistsOutput2.odt definitionlists.xml
  14. @echo created definitionlistsOutput2.odt
  15. @echo =============== output by Python3 ===================
  16. @python3 xml2odf -o definitionlistsOutput3.odt definitionlists.xml
  17. @echo created definitionlistsOutput3.odt