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