aboutsummaryrefslogtreecommitdiff
path: root/gnu/lib/libreadline/doc/Makefile
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-05-09 23:24:44 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-05-09 23:24:44 +0000
commit9cadef18e6c5a4e182160533a09f6076ef501838 (patch)
treef28f2d52bb4b856ef6a375919e9f851bd131a2ec /gnu/lib/libreadline/doc/Makefile
parentce4acff5b6111059cbb384355626bffe3112f432 (diff)
Notes
Diffstat (limited to 'gnu/lib/libreadline/doc/Makefile')
-rw-r--r--gnu/lib/libreadline/doc/Makefile36
1 files changed, 20 insertions, 16 deletions
diff --git a/gnu/lib/libreadline/doc/Makefile b/gnu/lib/libreadline/doc/Makefile
index 786e099c09ff..c79ad92b3fe4 100644
--- a/gnu/lib/libreadline/doc/Makefile
+++ b/gnu/lib/libreadline/doc/Makefile
@@ -1,30 +1,34 @@
-# This makefile for Readline library documentation is in -*- text -*- mode.
+# This makefile for History library documentation is in -*- text -*- mode.
# Emacs likes it that way.
-DVIOBJ = readline.dvi history.dvi
-INFOBJ = readline.info history.info
+DOC_SUPPORT = ../../doc-support/
+TEXINDEX = $(DOC_SUPPORT)/texindex
-all: $(DVIOBJ) $(INFOBJ)
+TEX = tex
+DVIOBJ = history.dvi
+INFOBJ = history.info
-readline.dvi: rlman.texinfo rluser.texinfo rltech.texinfo
- tex rlman.texinfo
- tex rlman.texinfo
- mv rlman.dvi readline.dvi
+all: $(DVIOBJ) $(INFOBJ)
history.dvi: hist.texinfo hsuser.texinfo hstech.texinfo
- tex hist.texinfo
- tex hist.texinfo
+ $(TEX) hist.texinfo
+ $(TEXINDEX) hist.??
+ $(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
+./texinfo.tex: $(DOC_SUPPORT)texinfo.tex
+ ln -s $(DOC_SUPPORT)texinfo.tex .
+
+$(TEXINDEX):
+ (cd $(DOC_SUPPORT); $(MAKE) $(MFLAGS) CFLAGS='$(CFLAGS)' texindex)
+
clean:
- rm -f *.log *.cp *.ky *.tp *.vr *.fn *.aux *.pg *.toc core
+ rm -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.cps *.pgs \
+ *.fns *.kys *.tps *.vrs *.o core texinfo.tex
squeaky-clean:
- rm -f *.log *.cp *.ky *.tp *.vr *.fn *.aux *.pg *.toc core *.dvi *.~* *.info
-
+ rm -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.cps *.pgs \
+ *.dvi *.info *.info-* *.fns *.kys *.tps *.vrs *.o core