aboutsummaryrefslogtreecommitdiff
path: root/readline/doc/Makefile
blob: 6ea7eb8a8ec8a21f930d87fa16c37a7c647fe2a1 (plain)
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
# This makefile for Readline library documentation is in -*- text -*- mode.
# Emacs likes it that way.

DVIOBJ = readline.dvi history.dvi
INFOBJ = readline.info history.info

all: $(DVIOBJ) $(INFOBJ)

readline.dvi: texindex rlman.texinfo rluser.texinfo rltech.texinfo
	tex rlman.texinfo
	./texindex rlman.??
	tex rlman.texinfo
	mv rlman.dvi readline.dvi

history.dvi: texindex hist.texinfo hsuser.texinfo hstech.texinfo
	tex hist.texinfo
	tex hist.texinfo
	mv hist.dvi history.dvi

readline.info: rlman.texinfo rluser.texinfo rltech.texinfo
	makeinfo rlman.texinfo

history.info: hist.texinfo hsuser.texinfo hstech.texinfo
	makeinfo hist.texinfo

texindex: texindex.o
	$(CC) -o $@ $(LDFLAGS) $(CFLAGS) $?
texindex.o: texindex.c

clean:
	rm -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.cps *.pgs \
	      *.fns *.kys *.tps *.vrs *.o core texindex

squeaky-clean:
	rm -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.cps *.pgs \
	      *.dvi *.info *.info-* *.fns *.kys *.tps *.vrs *.o core texindex