File: Makefile

package info (click to toggle)
jellyfish 2.3.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,276 kB
  • sloc: cpp: 35,703; sh: 995; ruby: 578; makefile: 397; python: 165; perl: 36
file content (37 lines) | stat: -rw-r--r-- 530 bytes parent folder | download | duplicates (8)
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
29
30
31
32
33
34
35
36
37
L2M = latex2man -t transfile
MI = makeinfo
PDFLATEX = pdflatex
M4 = m4

TARGETS = jellyfish.man jellyfish.html jellyfish.pdf
all: $(TARGETS)

man: jellyfish.man
	man ./$<

options.tex: generate_options_tex.sh
	sh $< > $@

%-full.tex: %.tex options.tex
	$(M4) $< > $@

%.man: %-full.tex
	$(L2M) $< $@

%.html: %-full.tex
	$(L2M) -H $< $@

%.texi: %-full.tex
	$(L2M) -T $< $@

%.info: %.texi
	$(MI) --force $< $@

%.latex: %-full.tex
	$(L2M) -L $< $@

%.pdf: %.latex
	$(PDFLATEX) $<

clean:
	rm -f $(TARGETS) *-full.tex options.tex