1996-12-23 17:02:34 +00:00
|
|
|
# This makefile for Readline library documentation is in -*- text -*- mode.
|
1996-08-26 18:22:31 +00:00
|
|
|
# Emacs likes it that way.
|
1996-12-23 17:02:34 +00:00
|
|
|
RM = rm -f
|
1996-08-26 18:22:31 +00:00
|
|
|
|
1997-06-05 14:59:13 +00:00
|
|
|
MAKEINFO = makeinfo
|
|
|
|
|
TEXI2DVI = texi2dvi
|
|
|
|
|
TEXI2HTML = texi2html
|
|
|
|
|
QUIETPS = #set this to -q to shut up dvips
|
|
|
|
|
DVIPS = dvips -D 300 $(QUIETPS) -o $@ # tricky
|
|
|
|
|
|
1996-12-23 17:02:34 +00:00
|
|
|
INSTALL_DATA = cp
|
|
|
|
|
infodir = /usr/local/info
|
1996-08-26 18:22:31 +00:00
|
|
|
|
|
|
|
|
RLSRC = rlman.texinfo rluser.texinfo rltech.texinfo
|
|
|
|
|
HISTSRC = hist.texinfo hsuser.texinfo hstech.texinfo
|
|
|
|
|
|
|
|
|
|
DVIOBJ = readline.dvi history.dvi
|
|
|
|
|
INFOOBJ = readline.info history.info
|
|
|
|
|
PSOBJ = readline.ps history.ps
|
1996-12-23 17:02:34 +00:00
|
|
|
HTMLOBJ = readline.html history.html
|
1996-08-26 18:22:31 +00:00
|
|
|
|
1997-06-05 14:59:13 +00:00
|
|
|
all: info dvi html ps
|
|
|
|
|
nodvi: info html
|
1996-08-26 18:22:31 +00:00
|
|
|
|
|
|
|
|
readline.dvi: $(RLSRC)
|
1996-12-23 17:02:34 +00:00
|
|
|
$(TEXI2DVI) rlman.texinfo
|
1996-08-26 18:22:31 +00:00
|
|
|
mv rlman.dvi readline.dvi
|
|
|
|
|
|
|
|
|
|
readline.info: $(RLSRC)
|
1997-06-05 14:59:13 +00:00
|
|
|
$(MAKEINFO) --no-split -o $@ rlman.texinfo
|
1996-08-26 18:22:31 +00:00
|
|
|
|
|
|
|
|
history.dvi: ${HISTSRC}
|
1996-12-23 17:02:34 +00:00
|
|
|
$(TEXI2DVI) hist.texinfo
|
1996-08-26 18:22:31 +00:00
|
|
|
mv hist.dvi history.dvi
|
|
|
|
|
|
|
|
|
|
history.info: ${HISTSRC}
|
1997-06-05 14:59:13 +00:00
|
|
|
$(MAKEINFO) --no-split -o $@ hist.texinfo
|
1996-08-26 18:22:31 +00:00
|
|
|
|
|
|
|
|
readline.ps: readline.dvi
|
1997-06-05 14:59:13 +00:00
|
|
|
$(RM) $@
|
|
|
|
|
$(DVIPS) readline.dvi
|
1996-08-26 18:22:31 +00:00
|
|
|
|
|
|
|
|
history.ps: history.dvi
|
1997-06-05 14:59:13 +00:00
|
|
|
$(RM) $@
|
|
|
|
|
$(DVIPS) history.dvi
|
1996-08-26 18:22:31 +00:00
|
|
|
|
1996-12-23 17:02:34 +00:00
|
|
|
readline.html: ${RLSRC}
|
1997-06-05 14:59:13 +00:00
|
|
|
$(TEXI2HTML) rlman.texinfo
|
1996-12-23 17:02:34 +00:00
|
|
|
sed -e 's:rlman.html:readline.html:' -e 's:rlman_toc.html:readline_toc.html:' rlman.html > readline.html
|
|
|
|
|
sed -e 's:rlman.html:readline.html:' -e 's:rlman_toc.html:readline_toc.html:' rlman_toc.html > readline_toc.html
|
1997-06-05 14:59:13 +00:00
|
|
|
$(RM) rlman.html rlman_toc.html
|
1996-12-23 17:02:34 +00:00
|
|
|
|
|
|
|
|
history.html: ${HISTSRC}
|
1997-06-05 14:59:13 +00:00
|
|
|
$(TEXI2HTML) hist.texinfo
|
1996-12-23 17:02:34 +00:00
|
|
|
sed -e 's:hist.html:history.html:' -e 's:hist_toc.html:history_toc.html:' hist.html > history.html
|
|
|
|
|
sed -e 's:hist.html:history.html:' -e 's:hist_toc.html:history_toc.html:' hist_toc.html > history_toc.html
|
1997-06-05 14:59:13 +00:00
|
|
|
$(RM) hist.html hist_toc.html
|
1996-12-23 17:02:34 +00:00
|
|
|
|
1996-08-26 18:22:31 +00:00
|
|
|
info: $(INFOOBJ)
|
|
|
|
|
dvi: $(DVIOBJ)
|
|
|
|
|
ps: $(PSOBJ)
|
1996-12-23 17:02:34 +00:00
|
|
|
html: $(HTMLOBJ)
|
1996-08-26 18:22:31 +00:00
|
|
|
|
1996-12-23 17:02:34 +00:00
|
|
|
clean:
|
|
|
|
|
$(RM) *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.cps *.pgs \
|
|
|
|
|
*.fns *.kys *.tps *.vrs *.o core
|
1996-08-26 18:22:31 +00:00
|
|
|
|
1996-12-23 17:02:34 +00:00
|
|
|
distclean: clean
|
|
|
|
|
mostlyclean: clean
|
1996-08-26 18:22:31 +00:00
|
|
|
|
1996-12-23 17:02:34 +00:00
|
|
|
maintainer-clean: clean
|
|
|
|
|
$(RM) *.dvi *.info *.info-* *.ps *.html
|
1996-08-26 18:22:31 +00:00
|
|
|
|
1996-12-23 17:02:34 +00:00
|
|
|
install: info
|
|
|
|
|
${INSTALL_DATA} readline.info $(infodir)/readline.info
|
|
|
|
|
${INSTALL_DATA} history.info $(infodir)/history.info
|