i-bash/lib/readline/doc/Makefile

70 lines
1.8 KiB
Makefile
Raw Normal View History

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
TEXI2DVI = texi2dvi
1996-08-26 18:22:31 +00:00
1996-12-23 17:02:34 +00:00
RM = rm -f
1996-08-26 18:22:31 +00:00
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
1996-12-23 17:02:34 +00:00
all: info dvi 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)
1996-12-23 17:02:34 +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}
1996-12-23 17:02:34 +00:00
makeinfo --no-split -o $@ hist.texinfo
1996-08-26 18:22:31 +00:00
readline.ps: readline.dvi
dvips -D 300 -o $@ readline.dvi
history.ps: history.dvi
dvips -D 300 -o $@ history.dvi
1996-12-23 17:02:34 +00:00
readline.html: ${RLSRC}
texi2html rlman.texinfo
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
rm -f rlman.html rlman_toc.html
history.html: ${HISTSRC}
texi2html hist.texinfo
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
rm -f hist.html hist_toc.html
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