]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - readline/doc/Makefile.in
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[thirdparty/binutils-gdb.git] / readline / doc / Makefile.in
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
19 srcdir = .
20
21 prefix = /usr/local
22
23 infodir = $(prefix)/info
24
25 SHELL = /bin/sh
26
27 INSTALL = install -c
28 INSTALL_DATA = $(INSTALL)
29
30 # where to find texinfo
31 TEXIDIR=$(srcdir)/../../texinfo
32
33 # where to find makeinfo, preferably one designed for texinfo-2
34 MAKEINFO=makeinfo
35
36 # auxiliary program for sorting Texinfo indices
37 TEXINDEX=texindex
38
39 # Don Knuth's TeX formatter
40 TEX=tex
41
42 #### Host, target, and site specific Makefile fragments come in here.
43 ###
44
45 all: info dvi
46
47 install: install-info
48
49 info: history.info readline.info
50
51 dvi: history.dvi readline.dvi
52
53 install-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
61 history.info: hist.texinfo hsuser.texinfo hstech.texinfo
62 $(MAKEINFO) -I $(srcdir) -o ./history.info $(srcdir)/hist.texinfo
63
64 history.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
69 readline.info: rlman.texinfo rluser.texinfo rltech.texinfo
70 $(MAKEINFO) -I $(srcdir) -o ./readline.info $(srcdir)/rlman.texinfo
71
72 readline.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
77 distclean: clean
78 rm -f Makefile config.status
79
80 mostlyclean: clean
81
82 realclean: distclean
83
84 clean: clean-info clean-dvi
85
86 clean-info:
87 rm -f history.info* readline.info*
88
89 clean-dvi:
90 rm -f hist.?? hist.???
91 rm -f rlman.?? rlman.???
92
93 Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
94 $(SHELL) ./config.status