File: Makefile.am

package info (click to toggle)
audiowmark 0.6.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,168 kB
  • sloc: cpp: 10,571; sh: 1,867; makefile: 107; python: 34
file content (23 lines) | stat: -rw-r--r-- 688 bytes parent folder | download
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)