i-bash/lib/readline/doc/Makefile

146 lines
3.8 KiB
Makefile
Raw Normal View History

2000-03-17 21:46:59 +00:00
# Derived by hand from the generated readline-src/doc/Makefile
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.
2002-07-17 14:10:11 +00:00
2009-01-12 13:36:28 +00:00
# Copyright (C) 1996-2002 Free Software Foundation, Inc.
2002-07-17 14:10:11 +00:00
#
2009-01-12 13:36:28 +00:00
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
2002-07-17 14:10:11 +00:00
#
2009-01-12 13:36:28 +00:00
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
2002-07-17 14:10:11 +00:00
#
2009-01-12 13:36:28 +00:00
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
2002-07-17 14:10:11 +00:00
2000-03-17 21:46:59 +00:00
topdir = .
1999-02-19 17:11:39 +00:00
srcdir = .
VPATH = .
prefix = /usr/local
infodir = ${prefix}/info
mandir = ${prefix}/man
2000-03-17 21:46:59 +00:00
manpfx = man
man1ext = 1
man1dir = $(mandir)/$(manpfx)$(man1ext)
man3ext = 3
man3dir = $(mandir)/$(manpfx)$(man3ext)
1999-02-19 17:11:39 +00:00
SHELL = /bin/sh
1996-12-23 17:02:34 +00:00
RM = rm -f
1996-08-26 18:22:31 +00:00
2000-03-17 21:46:59 +00:00
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
BUILD_DIR = .
1999-02-19 17:11:39 +00:00
TEXINPUTDIR = $(srcdir)
2000-03-17 21:46:59 +00:00
MAKEINFO = LANGUAGE= makeinfo
1999-02-19 17:11:39 +00:00
TEXI2DVI = $(srcdir)/texi2dvi
TEXI2HTML = $(srcdir)/texi2html
1997-06-05 14:59:13 +00:00
QUIETPS = #set this to -q to shut up dvips
2000-03-17 21:46:59 +00:00
PSDPI = 300 # I don't have any 600-dpi printers
DVIPS = dvips -D ${PSDPI} $(QUIETPS) -o $@ # tricky
1996-08-26 18:22:31 +00:00
2004-07-27 13:29:18 +00:00
RLSRC = $(srcdir)/rlman.texi $(srcdir)/rluser.texi \
$(srcdir)/rltech.texi $(srcdir)/version.texi \
$(srcdir)/rluserman.texi
HISTSRC = $(srcdir)/history.texi $(srcdir)/hsuser.texi \
$(srcdir)/hstech.texi $(srcdir)/version.texi
1999-02-19 17:11:39 +00:00
# This should be a program that converts troff to an ascii-readable format
NROFF = groff -Tascii
# This should be a program that converts troff to postscript
GROFF = groff
1996-08-26 18:22:31 +00:00
2000-03-17 21:46:59 +00:00
DVIOBJ = readline.dvi history.dvi rluserman.dvi
INFOOBJ = readline.info history.info rluserman.info
PSOBJ = readline.ps history.ps rluserman.ps
HTMLOBJ = readline.html history.html rluserman.html
1999-02-19 17:11:39 +00:00
2004-07-27 13:29:18 +00:00
INTERMEDIATE_OBJ = rlman.dvi
1996-08-26 18:22:31 +00:00
2000-03-17 21:46:59 +00:00
CREATED_DOCS = $(DVIOBJ) $(INFOOBJ) $(PSOBJ) $(HTMLOBJ)
1999-02-19 17:11:39 +00:00
2000-03-17 21:46:59 +00:00
.SUFFIXES: .ps .txt .dvi
1999-02-19 17:11:39 +00:00
2000-03-17 21:46:59 +00:00
all: info dvi html ps
nodvi: info html
1996-08-26 18:22:31 +00:00
readline.dvi: $(RLSRC)
2004-07-27 13:29:18 +00:00
TEXINPUTS=.:$(TEXINPUTDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/rlman.texi
1996-08-26 18:22:31 +00:00
mv rlman.dvi readline.dvi
readline.info: $(RLSRC)
2004-07-27 13:29:18 +00:00
$(MAKEINFO) --no-split -I $(TEXINPUTDIR) -o $@ $(srcdir)/rlman.texi
1996-08-26 18:22:31 +00:00
2000-03-17 21:46:59 +00:00
rluserman.dvi: $(RLSRC)
2004-07-27 13:29:18 +00:00
TEXINPUTS=.:$(TEXINPUTDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/rluserman.texi
2000-03-17 21:46:59 +00:00
rluserman.info: $(RLSRC)
2004-07-27 13:29:18 +00:00
$(MAKEINFO) --no-split -I $(TEXINPUTDIR) -o $@ $(srcdir)/rluserman.texi
2000-03-17 21:46:59 +00:00
1996-08-26 18:22:31 +00:00
history.dvi: ${HISTSRC}
2004-07-27 13:29:18 +00:00
TEXINPUTS=.:$(TEXINPUTDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/history.texi
1996-08-26 18:22:31 +00:00
history.info: ${HISTSRC}
2004-07-27 13:29:18 +00:00
$(MAKEINFO) --no-split -I $(TEXINPUTDIR) -o $@ $(srcdir)/history.texi
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
2000-03-17 21:46:59 +00:00
rluserman.ps: rluserman.dvi
$(RM) $@
$(DVIPS) rluserman.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}
2004-07-27 13:29:18 +00:00
$(TEXI2HTML) -menu -monolithic -I $(TEXINPUTDIR) $(srcdir)/rlman.texi
1999-02-19 17:11:39 +00:00
sed -e 's:rlman.html:readline.html:' rlman.html > readline.html
$(RM) rlman.html
1996-12-23 17:02:34 +00:00
2000-03-17 21:46:59 +00:00
rluserman.html: ${RLSRC}
2004-07-27 13:29:18 +00:00
$(TEXI2HTML) -menu -monolithic -I $(TEXINPUTDIR) $(srcdir)/rluserman.texi
2000-03-17 21:46:59 +00:00
1996-12-23 17:02:34 +00:00
history.html: ${HISTSRC}
2004-07-27 13:29:18 +00:00
$(TEXI2HTML) -menu -monolithic -I $(TEXINPUTDIR) $(srcdir)/history.texi
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
1999-02-19 17:11:39 +00:00
$(RM) $(CREATED_DOCS)
$(RM) $(INTERMEDIATE_OBJ)
$(RM) Makefile
1996-12-23 17:02:34 +00:00
mostlyclean: clean
1996-08-26 18:22:31 +00:00
1996-12-23 17:02:34 +00:00
maintainer-clean: clean
1999-02-19 17:11:39 +00:00
$(RM) $(CREATED_DOCS)
$(RM) $(INTERMEDIATE_OBJ)
$(RM) Makefile
2000-03-17 21:46:59 +00:00
install:
@echo "This documentation should not be installed."
1999-02-19 17:11:39 +00:00
uninstall: