File: Makefile

package info (click to toggle)
dpic 2023.06.01-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,868 kB
  • sloc: ansic: 10,262; yacc: 5,827; makefile: 286; sh: 156; awk: 129; sed: 32
file content (12 lines) | stat: -rw-r--r-- 325 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
# Produce tgraph.svg for viewing in a browser:
tgraph.svg:
	dpic -v tgraph.pic > tgraph.svg

# put your test file in test.pic and type `make tst.pdf'
tst.pdf:
	if test -f test.pic ; then dpic -g test.pic > test.tex ; \
    else dpic -g tgraph.pic > test.tex ; fi
	pdflatex tst

clean:
	rm -f *.svg *.aux *.log *.pdf test.tex