Makefile 392 B

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