]> git.ipfire.org Git - thirdparty/bash.git/blame - lib/readline/doc/Makefile
Imported from ../bash-2.0.tar.gz.
[thirdparty/bash.git] / lib / readline / doc / Makefile
CommitLineData
ccc6cda3 1# This makefile for Readline library documentation is in -*- text -*- mode.
726f6388 2# Emacs likes it that way.
ccc6cda3 3TEXI2DVI = texi2dvi
726f6388 4
ccc6cda3 5RM = rm -f
726f6388 6
ccc6cda3
JA
7INSTALL_DATA = cp
8infodir = /usr/local/info
726f6388
JA
9
10RLSRC = rlman.texinfo rluser.texinfo rltech.texinfo
11HISTSRC = hist.texinfo hsuser.texinfo hstech.texinfo
12
13DVIOBJ = readline.dvi history.dvi
14INFOOBJ = readline.info history.info
15PSOBJ = readline.ps history.ps
ccc6cda3 16HTMLOBJ = readline.html history.html
726f6388 17
ccc6cda3 18all: info dvi html
726f6388
JA
19
20readline.dvi: $(RLSRC)
ccc6cda3 21 $(TEXI2DVI) rlman.texinfo
726f6388
JA
22 mv rlman.dvi readline.dvi
23
24readline.info: $(RLSRC)
ccc6cda3 25 makeinfo --no-split -o $@ rlman.texinfo
726f6388
JA
26
27history.dvi: ${HISTSRC}
ccc6cda3 28 $(TEXI2DVI) hist.texinfo
726f6388
JA
29 mv hist.dvi history.dvi
30
31history.info: ${HISTSRC}
ccc6cda3 32 makeinfo --no-split -o $@ hist.texinfo
726f6388
JA
33
34readline.ps: readline.dvi
35 dvips -D 300 -o $@ readline.dvi
36
37history.ps: history.dvi
38 dvips -D 300 -o $@ history.dvi
39
ccc6cda3
JA
40readline.html: ${RLSRC}
41 texi2html rlman.texinfo
42 sed -e 's:rlman.html:readline.html:' -e 's:rlman_toc.html:readline_toc.html:' rlman.html > readline.html
43 sed -e 's:rlman.html:readline.html:' -e 's:rlman_toc.html:readline_toc.html:' rlman_toc.html > readline_toc.html
44 rm -f rlman.html rlman_toc.html
45
46history.html: ${HISTSRC}
47 texi2html hist.texinfo
48 sed -e 's:hist.html:history.html:' -e 's:hist_toc.html:history_toc.html:' hist.html > history.html
49 sed -e 's:hist.html:history.html:' -e 's:hist_toc.html:history_toc.html:' hist_toc.html > history_toc.html
50 rm -f hist.html hist_toc.html
51
726f6388
JA
52info: $(INFOOBJ)
53dvi: $(DVIOBJ)
54ps: $(PSOBJ)
ccc6cda3 55html: $(HTMLOBJ)
726f6388 56
ccc6cda3
JA
57clean:
58 $(RM) *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.cps *.pgs \
59 *.fns *.kys *.tps *.vrs *.o core
726f6388 60
ccc6cda3
JA
61distclean: clean
62mostlyclean: clean
726f6388 63
ccc6cda3
JA
64maintainer-clean: clean
65 $(RM) *.dvi *.info *.info-* *.ps *.html
726f6388 66
ccc6cda3
JA
67install: info
68 ${INSTALL_DATA} readline.info $(infodir)/readline.info
69 ${INSTALL_DATA} history.info $(infodir)/history.info