]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - readline/doc/Makefile.in
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[thirdparty/binutils-gdb.git] / readline / doc / Makefile.in
CommitLineData
413c3a48
RP
1## Copyright (C) 1993 Free Software Foundation, Inc.
2
3# Makefile for Readline documentation.
4
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 2 of the License, or
8# (at your option) any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, write to the Free Software
17# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
19srcdir = .
20
21prefix = /usr/local
22
23infodir = $(prefix)/info
24
25SHELL = /bin/sh
26
27INSTALL = install -c
28INSTALL_DATA = $(INSTALL)
29
30# where to find texinfo
31TEXIDIR=$(srcdir)/../../texinfo
32
33# where to find makeinfo, preferably one designed for texinfo-2
34MAKEINFO=makeinfo
35
36# auxiliary program for sorting Texinfo indices
37TEXINDEX=texindex
38
39# Don Knuth's TeX formatter
40TEX=tex
41
42#### Host, target, and site specific Makefile fragments come in here.
43###
44
45all: info dvi
46
47install: install-info
48
49info: history.info readline.info
50
51dvi: history.dvi readline.dvi
52
53install-info: info
54 -parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \
55 if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
56 -if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi
57 for i in *.info* ; do \
58 $(INSTALL_DATA) $$i $(infodir)/$$i ; \
59 done
60
61history.info: hist.texinfo hsuser.texinfo hstech.texinfo
62 $(MAKEINFO) -I $(srcdir) -o ./history.info $(srcdir)/hist.texinfo
63
64history.dvi: hist.texinfo hsuser.texinfo hstech.texinfo $(TEXIDIR)/texinfo.tex
65 TEXINPUTS=${TEXIDIR}:$(srcdir):$$TEXINPUTS $(TEX) hist.texinfo
66 $(TEXINDEX) hist.??
67 TEXINPUTS=${TEXIDIR}:$(srcdir):$$TEXINPUTS $(TEX) hist.texinfo
68
69readline.info: rlman.texinfo rluser.texinfo rltech.texinfo
70 $(MAKEINFO) -I $(srcdir) -o ./readline.info $(srcdir)/rlman.texinfo
71
72readline.dvi: rlman.texinfo rluser.texinfo rltech.texinfo
73 TEXINPUTS=${TEXIDIR}:$(srcdir):$$TEXINPUTS $(TEX) rlman.texinfo
74 $(TEXINDEX) rlman.??
75 TEXINPUTS=${TEXIDIR}:$(srcdir):$$TEXINPUTS $(TEX) rlman.texinfo
76
77distclean: clean
78 rm -f Makefile config.status
79
80mostlyclean: clean
81
82realclean: distclean
83
84clean: clean-info clean-dvi
85
86clean-info:
87 rm -f history.info* readline.info*
88
89clean-dvi:
90 rm -f hist.?? hist.???
91 rm -f rlman.?? rlman.???
92
93Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
94 $(SHELL) ./config.status