summaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
blob: bf80fbd30ac64cef0559a26f0ce1e574fc814409 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Makefile.am --- automake input file for systemtap docs
## process this file with automake to produce Makefile.in

if BUILD_DOCS
all-local: tutorial.pdf langref.pdf

clean-local:
	rm -f *.pdf *.out *.log *.aux *.toc *.lot *.idx *.glo
endif

SUFFIXES = ps pdf dvi ps tex

.ps.pdf:
	ps2pdf -r600 $<

.dvi.ps:
	dvips -t letter -o $@ $<

.tex.dvi:
	pwd=`pwd`; cd $(srcdir); \
	latex -output-directory=$$pwd $<; \
	touch $*.glo \
	makeindex $*.glo -s nomencl.ist -o $*.gls \
	latex -output-directory=$$pwd $<; \
	latex -output-directory=$$pwd $<; \
	latex -output-directory=$$pwd $<

EXTRA_DIST = tutorial.tex langref.tex tutorial