head	1.2;
access;
symbols
	RELENG_2_2_8_RELEASE:1.1.1.1
	RELENG_2_2_7_RELEASE:1.1.1.1
	RELENG_2_2_6_RELEASE:1.1.1.1
	RELENG_2_2_5_RELEASE:1.1.1.1
	RELENG_2_2_2_RELEASE:1.1.1.1
	RELENG_2_2:1.1.1.1.0.2
	bash-2_0:1.1.1.1
	FSF:1.1.1;
locks; strict;
comment	@# @;


1.2
date	97.06.07.12.58.06;	author ache;	state dead;
branches;
next	1.1;

1.1
date	97.01.04.22.09.19;	author ache;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.01.04.22.09.19;	author ache;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Merge with previous variant
@
text
@# This makefile for Readline library documentation is in -*- text -*- mode.
# Emacs likes it that way.
TEXI2DVI = texi2dvi

RM = rm -f

INSTALL_DATA = cp
infodir = /usr/local/info

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
HTMLOBJ = readline.html history.html

all: info dvi html

readline.dvi: $(RLSRC)
	$(TEXI2DVI) rlman.texinfo
	mv rlman.dvi readline.dvi

readline.info: $(RLSRC)
	makeinfo --no-split -o $@@ rlman.texinfo

history.dvi: ${HISTSRC}
	$(TEXI2DVI) hist.texinfo
	mv hist.dvi history.dvi

history.info: ${HISTSRC}
	makeinfo --no-split -o $@@ hist.texinfo

readline.ps:	readline.dvi
	dvips -D 300 -o $@@ readline.dvi

history.ps:	history.dvi
	dvips -D 300 -o $@@ history.dvi

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

info:	$(INFOOBJ)
dvi:	$(DVIOBJ)
ps:	$(PSOBJ)
html:	$(HTMLOBJ)

clean:
	$(RM) *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.cps *.pgs \
	      *.fns *.kys *.tps *.vrs *.o core

distclean: clean
mostlyclean: clean

maintainer-clean: clean
	$(RM) *.dvi *.info *.info-* *.ps *.html

install:	info
	${INSTALL_DATA} readline.info $(infodir)/readline.info
	${INSTALL_DATA} history.info $(infodir)/history.info
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Libreadline.
@
text
@@
