Makefile.am 688 B

123456789101112131415161718192021222324
  1. # docs/Makefile.am
  2. doc_DATA = audiowmark.pdf audiowmark.html
  3. GRAPHVIZ_PY = graphviz.py
  4. EXTRA_DIST = audiowmark.md $(GRAPHVIZ_PY) example-spectrum.dat example-spectrum.gp \
  5. videowmark-win.cc win-x64-build-guide.txt
  6. audiowmark.pdf: audiowmark.md $(GRAPHVIZ_PY) example-spectrum.png
  7. pandoc -F $(GRAPHVIZ_PY) -V papersize:a4 -V geometry:margin=2cm $< -o $@
  8. audiowmark.html: audiowmark.md $(GRAPHVIZ_PY) example-spectrum.png
  9. pandoc -F $(GRAPHVIZ_PY) $< -o $@
  10. example-spectrum.png: example-spectrum.dat example-spectrum.gp
  11. gnuplot example-spectrum.gp
  12. # DEPS: apt install -y python3-pygraphviz python3-pandocfilters
  13. clean:
  14. rm -f -r ../docs/graphviz-images/
  15. rm -f $(doc_DATA)