b68a539dc954651d2a4472f57b6bdc9ba25f878f
[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 doc: $(OUTPUT_FILES)
28
29 install:
30
31 clean:
32         \rm -f unifont.aux unifont.cp unifont.fn unifont.ky unifont.log
33         \rm -f unifont.pg unifont.toc unifont.tp unifont.vr
34         \rm -f *~
35
36 #
37 # Only uncomment the line to remove $(OUTPUT_FILES) if your system has
38 # texinfo, texi2pdf, TeX, and other necessary software installed to
39 # rebuild the documentation from scratch.
40 #
41 distclean: clean
42 #       \rm -f $(OUTPUT_FILES)
43
44 .PHONY: all install clean distclean