Makefile 430 B

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