Makefile 533 B

123456789101112131415161718192021222324
  1. all: odf odf2xhtml.1
  2. txt: odf2xhtml.txt
  3. %.1: %.docbook
  4. xmlto man $<
  5. %.txt: %.docbook
  6. xmlto txt $<
  7. clean:
  8. rm -f *.1 *.txt odf
  9. odf:
  10. ln -s ../odf
  11. test: clean odf
  12. @echo ============== output by Python2 ====================
  13. @python2 odf2xhtml ../tests/examples/headerfooter.odt
  14. @echo =====================================================
  15. @echo
  16. @echo ============== output by Python3 ====================
  17. @python3 odf2xhtml ../tests/examples/headerfooter.odt
  18. @echo =====================================================