Makefile 422 B

1234567891011121314151617181920
  1. all: odf odf2xml.1
  2. txt: odf2xml.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 odf2xml ../tests/examples/headerfooter.odt
  14. @echo ========================= output by Python3 =====================
  15. @python3 odf2xml ../tests/examples/headerfooter.odt