blob: 1486dbb12712f2e59e5d0ec7a0f6688a27d4c5cd (
plain) (
blame)
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
38
39
40
41
42
43
44
45
46
47
|
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
.PHONY: default
default: info
.PHONY: all
all: doc
.PHONY: doc
doc: info pdf dvi ps
.PHONY: info
info: median.info
%.info: info/%.texinfo info/fdl.texinfo
makeinfo $<
.PHONY: pdf
pdf: median.pdf
%.pdf: info/%.texinfo info/fdl.texinfo
@mkdir -p obj
cd obj ; yes X | texi2pdf ../$<
mv obj/$@ $@
.PHONY: dvi
dvi: median.dvi
%.dvi: info/%.texinfo info/fdl.texinfo
@mkdir -p obj
cd obj ; yes X | $(TEXI2DVI) ../$<
mv obj/$@ $@
.PHONY: ps
ps: median.ps
%.ps: info/%.texinfo info/fdl.texinfo
@mkdir -p obj
cd obj ; yes X | texi2pdf --ps ../$<
mv obj/$@ $@
.PHONY: clean
clean:
-rm -r obj bin *.info *.pdf *.dvi *.ps
|