fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git] / toolchain / gcc / libgloss / doc / Makefile.in
blob0432e026f52f67c43db5d08a99e71d73e3a27683
1 # Copyright (c) 1995, 1996 Cygnus Support
3 # The authors hereby grant permission to use, copy, modify, distribute,
4 # and license this software and its documentation for any purpose, provided
5 # that existing copyright notices are retained in all copies and that this
6 # notice is included verbatim in any distributions. No written agreement,
7 # license, or royalty fee is required for any of the authorized uses.
8 # Modifications to this software may be copyrighted by their authors
9 # and need not follow the licensing terms described here, provided that
10 # the new terms are clearly indicated on the first page of each file where
11 # they apply.
14 srcdir = @srcdir@
15 VPATH = @srcdir@
17 prefix = @prefix@
18 exec_prefix = @exec_prefix@
20 mandir = @mandir@
21 man1dir = $(mandir)/man1
22 infodir = @infodir@
24 MAKEINFO = makeinfo
25 TEXI2DVI = TEXINPUTS=$(TEXIDIR):$(srcdir):$$TEXINPUTS texi2dvi
27 INSTALL = @INSTALL@
28 INSTALL_PROGRAM = @INSTALL_PROGRAM@
29 INSTALL_DATA = @INSTALL_DATA@
31 # Where to find texinfo.tex to format docn with TeX
32 TEXIDIR = $(srcdir)/../../texinfo
34 MANPAGES =
36 all:
38 info: porting.info
40 dvi: porting.dvi
42 ps: porting.ps
44 doc: info dvi
46 porting: porting.dvi porting.info
48 ######################################################################
49 # DOCUMENTATION TARGETS
50 # TeX output
51 porting.dvi: $(srcdir)/porting.texi $(srcdir)/porting.texi
52 $(TEXI2DVI) $(srcdir)/porting.texi
54 # info file for online browsing
55 porting.info: $(srcdir)/porting.texi $(srcdir)/porting.texi
56 $(MAKEINFO) -I $(srcdir) -o porting.info $(srcdir)/porting.texi
58 porting.ps: porting.dvi
59 dvips -f porting.dvi > porting.ps
61 # different targets for -ms, -mm, -me
62 # Try to use a recent texi2roff. v2 was put on prep in jan91.
63 # If you want an index, see texi2roff doc for postprocessing
64 # and add -i to texi2roff invocations below.
65 # Workarounds for texi2roff-2 (probably fixed in later texi2roff's, delete
66 # correspondint -e lines when later texi2roff's are current)
67 # + @ifinfo's deleted explicitly due to texi2roff-2 bug w nested constructs.
68 # + @c's deleted explicitly because texi2roff sees texinfo commands in them
69 # + @ (that's at-BLANK) not recognized by texi2roff, turned into blank
70 # + @alphaenumerate is ridiculously new, turned into @enumerate
72 # roff output (-ms)
73 porting.ms: $(srcdir)/porting.texi
74 sed -e '/\\input texinfo/d' \
75 -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
76 -e '/^@ifinfo/,/^@end ifinfo/d' \
77 -e '/^@c/d' \
78 -e 's/{.*,,/{/' \
79 -e 's/@ / /g' \
80 -e 's/^@alphaenumerate/@enumerate/g' \
81 -e 's/^@end alphaenumerate/@end enumerate/g' \
82 $(srcdir)/porting.texi | \
83 $(TEXI2ROFF) -ms | \
84 sed -e 's/---/\\(em/g' \
85 >porting.ms
87 # roff output (-mm)
88 # '@noindent's removed due to texi2roff-2 mm bug; if yours is newer,
89 # try leaving them in
90 porting.mm: $(srcdir)/porting.texi
91 sed -e '/\\input texinfo/d' \
92 -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
93 -e '/^@ifinfo/,/^@end ifinfo/d' \
94 -e '/^@c/d' \
95 -e 's/{.*,,/{/' \
96 -e '/@noindent/d' \
97 -e 's/@ / /g' \
98 -e 's/^@alphaenumerate/@enumerate/g' \
99 -e 's/^@end alphaenumerate/@end enumerate/g' \
100 $(srcdir)/porting.texi | \
101 $(TEXI2ROFF) -mm | \
102 sed -e 's/---/\\(em/g' \
103 >porting.mm
105 # roff output (-me)
106 porting.me: $(srcdir)/porting.texi
107 sed -e '/\\input texinfo/d' \
108 -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
109 -e '/^@ifinfo/,/^@end ifinfo/d' \
110 -e '/^@c/d' \
111 -e 's/{.*,,/{/' \
112 -e 's/@ / /g' \
113 -e 's/^@alphaenumerate/@enumerate/g' \
114 -e 's/^@end alphaenumerate/@end enumerate/g' \
115 $(srcdir)/porting.texi | \
116 $(TEXI2ROFF) -me | \
117 sed -e 's/---/\\(em/g' \
118 >porting.me
121 ######################################################################
123 clean mostlyclean:
124 -rm -f *.o *~ \#* core *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc \
125 *.tp *.vr *.cps *.fns *.kys *.pgs *.tps *.vrs *.info* *.1 *.ps
127 maintainer-clean realclean: clean
128 -rm -f
130 install:
132 install-info: info
133 for i in *.info* ; do \
134 $(INSTALL_DATA) $$i $(infodir)/$$i ; \
135 done
137 clean-info:
138 -rm -rf *.info*
140 distclean: clean
141 -rm -f Makefile config.cache config.log config.status
143 Makefile: Makefile.in config.status
144 $(SHELL) config.status
146 config.status: configure
147 $(SHELL) config.status --recheck