Debian Codegraph @

doc/Makefile

raw
1 L2M = latex2man -t transfile
2 MI = makeinfo
3 PDFLATEX = pdflatex
4 M4 = m4
5
6 TARGETS = jellyfish.man jellyfish.html jellyfish.pdf
7 all: $(TARGETS)
8
9 man: jellyfish.man
10 man ./$<
11
12 options.tex: generate_options_tex.sh
13 sh $< > $@
14
15 %-full.tex: %.tex options.tex
16 $(M4) $< > $@
17
18 %.man: %-full.tex
19 $(L2M) $< $@
20
21 %.html: %-full.tex
22 $(L2M) -H $< $@
23
24 %.texi: %-full.tex
25 $(L2M) -T $< $@
26
27 %.info: %.texi
28 $(MI) --force $< $@
29
30 %.latex: %-full.tex
31 $(L2M) -L $< $@
32
33 %.pdf: %.latex
34 $(PDFLATEX) $<
35
36 clean:
37 rm -f $(TARGETS) *-full.tex options.tex