Makefile 398 B

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