unifont-7.0.06.tar.gz
[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 # The "all:" target does nothing, so that a higher-level "make" invocation
23 # does not remake the texinfo files, in case the target system does not have
24 # makeinfo and texi2pdf installed.
25
26 # To rebuild the files, issue the command
27 #
28 #      make distclean ; make docprep ; make doc ; make clean
29 #
30 all:
31 #
32 # Type "make docprep" before typing "make doc".
33 #
34 docprep:
35         \rm -f $(OUTPUT_FILES)
36
37 doc: $(OUTPUT_FILES)
38
39 install:
40
41 clean:
42         \rm -f unifont.aux unifont.cp unifont.fn unifont.ky unifont.log
43         \rm -f unifont.pg unifont.toc unifont.tp unifont.vr
44         \rm -f *~
45
46 #
47 # Only uncomment the line to remove $(OUTPUT_FILES) if your system has
48 # texinfo, texi2pdf, TeX, and other necessary software installed to
49 # rebuild the documentation from scratch.
50 #
51 distclean: clean
52 #       \rm -f $(OUTPUT_FILES)
53
54 .PHONY: all install clean distclean