0bbd27ff904945fde7b57a7457b8f2497d84685d
[unifont.git] / doc / Makefile
1
2 SHELL = /bin/sh
3
4 MAKEINFO = makeinfo
5 TEXI2PDF = texi2pdf
6
7 OUTPUT_FILES = unifont.info unifont.txt unifont.pdf
8
9 .SUFFIXES:
10 .SUFFIXES: .texi .txt .info .pdf
11
12 .texi.info:
13         $(MAKEINFO) $< -o $@
14
15 .texi.txt:
16         $(MAKEINFO) --plaintext $< -o $@
17
18 .texi.pdf:
19         $(TEXI2PDF) $<
20
21 #
22 # Comment out the "all:" line to make the documents.  The default is
23 # to leave the existing unifont.info and unifont.pdf files in place,
24 # in case the target system doesn't have makeinfo and texi2pdf installed.
25 #
26 all:
27 #
28 # Type "make docprep" before typing "make doc".
29 #
30 docprep:
31         \rm -f unifont.info unifont.txt unifont.pdf
32
33 doc: $(OUTPUT_FILES)
34
35 install:
36
37 clean:
38         \rm -f unifont.aux unifont.cp unifont.fn unifont.ky unifont.log
39         \rm -f unifont.pg unifont.toc unifont.tp unifont.vr
40         \rm -f *~
41
42 #
43 # Only uncomment the line to remove $(OUTPUT_FILES) if your system has
44 # texinfo, texi2pdf, TeX, and other necessary software installed to
45 # rebuild the documentation from scratch.
46 #
47 distclean: clean
48 #       \rm -f $(OUTPUT_FILES)
49
50 .PHONY: all install clean distclean