* mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c,
[deliverable/binutils-gdb.git] / gdb / doc / Makefile.in
CommitLineData
6aba47ca
DJ
1##Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000, 2002, 2003,
2##2007 Free Software Foundation, Inc.
c906108c
SS
3
4# Makefile for GDB documentation.
5# This file is part of GDB.
6
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program; if not, write to the Free Software
c02a867d 19# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
c906108c
SS
20
21srcdir = @srcdir@
22VPATH = @srcdir@
23
24prefix = @prefix@
25
26infodir = @infodir@
9453113a 27pdfdir = $(prefix)/share/doc/gdb
085dd6e6 28htmldir = $(prefix)/html
c906108c
SS
29
30SHELL = @SHELL@
31
39ec5655
EZ
32LN_S = @LN_S@
33
c906108c
SS
34INSTALL = @INSTALL@
35INSTALL_PROGRAM = @INSTALL_PROGRAM@
36INSTALL_DATA = @INSTALL_DATA@
37
9453113a
DJ
38mkinstalldirs = $(SHELL) $(srcdir)/../../mkinstalldirs
39
c906108c
SS
40# main GDB source directory
41gdbdir = $(srcdir)/..
42
43# where to find texinfo; GDB dist should include a recent one
44TEXIDIR=${gdbdir}/../texinfo
45
46# where to find makeinfo, preferably one designed for texinfo-2
47MAKEINFO=makeinfo
48
6d2ebf8b
SS
49# Note that texinfo 4.0's makeinfo --html can only generate a
50# single file, which would be too large, so continue to use
51# texi2html. -sts 2000-03-28
52
085dd6e6 53MAKEHTML = texi2html
f4846649 54MAKEHTMLFLAGS = -menu -split_chapter
085dd6e6 55
c906108c
SS
56# where to find texi2roff, ditto
57TEXI2ROFF=texi2roff
58
be298bcc
AC
59# where to find texi2dvi, ditto
60TEXI2DVI=texi2dvi
61
c906108c
SS
62# Where is the source dir for the READLINE library doc?
63# Traditionally readline is in .. or .
64READLINE_DIR = ${gdbdir}/../readline/doc
65
7162c0ca
EZ
66# The GDB/MI docs come from a sibling directory ../mi
67GDBMI_DIR = ${gdbdir}/mi
68
69SET_TEXINPUTS = \
70 TEXINPUTS=${TEXIDIR}:.:$(srcdir):$(READLINE_DIR):$(GDBMI_DIR):$$TEXINPUTS
c906108c 71
63ac3005 72# Files which should be generated via 'info' and installed by 'install-info'
e6f672d2 73INFO_DEPS = gdb.info gdbint.info stabs.info annotate.info
63ac3005 74
9453113a
DJ
75# Files which should be generated via 'pdf' and installed by 'install-pdf'
76PDFFILES = gdb.pdf gdbint.pdf stabs.pdf refcard.pdf annotate.pdf
77
c906108c
SS
78# There may be alternate predefined collections of switches to configure
79# the GDB manual. Normally this is not done in synch with the software
80# config system, since this choice tends to be independent; most people
81# want a doc config of `all' for a generic manual, regardless of sw config.
82DOC_CONFIG = all
83
84# This list of sed edits will edit the GDB reference card
85# for what fonts and what papersize to use.
86# By default (NO edits applied), the refcard uses:
87# - Computer Modern (CM) fonts
88# - US letter paper (8.5x11in)
89# List some of the following files for alternative fonts and paper:
90# a4rc.sed use A4 paper (297 x 210 mm)
91# psrc.sed use PostScript fonts (Karl Berry short TeX names)
92# lpsrc.sed use PostScript fonts (full PostScript names in TeX)
93# e.g. for A4, Postscript: REFEDITS = a4rc.sed psrc.sed
94# for A4, CM fonts: REFEDITS = a4rc.sed
95# for US, PS fonts: REFEDITS = psrc.sed
96# for default:
97REFEDITS =
98
99# Don Knuth's TeX formatter
100TEX = tex
9453113a 101PDFTEX = pdftex
c906108c 102
c906108c
SS
103# Program to generate Postscript files from DVI files.
104DVIPS = dvips
105
b0787093
AC
106# Main GDB manual
107GDB_DOC_SOURCE_INCLUDES = \
aab4e0ec 108 $(srcdir)/fdl.texi \
b0787093 109 $(srcdir)/gpl.texi \
f418dd93 110 $(srcdir)/agentexpr.texi \
5bdf8622 111 $(READLINE_DIR)/rluser.texi \
b0787093
AC
112 $(READLINE_DIR)/inc-hist.texinfo
113GDB_DOC_BUILD_INCLUDES = \
114 gdb-cfg.texi \
115 GDBvn.texi
116GDB_DOC_FILES = \
117 $(srcdir)/gdb.texinfo \
118 $(GDB_DOC_SOURCE_INCLUDES) \
119 $(GDB_DOC_BUILD_INCLUDES)
120
121# Internals Manual
122GDBINT_DOC_SOURCE_INCLUDES = \
bcd7e15f
JB
123 $(srcdir)/fdl.texi \
124 $(srcdir)/observer.texi
b0787093
AC
125GDBINT_DOC_BUILD_INCLUDES = \
126 gdb-cfg.texi \
127 GDBvn.texi
128GDBINT_DOC_FILES = \
129 $(srcdir)/gdbint.texinfo \
130 $(GDBINT_DOC_SOURCE_INCLUDES) \
131 $(GDBINT_DOC_BUILD_INCLUDES)
132
133# Stabs manual: All files
e5249f67
AC
134STABS_DOC_SOURCE_INCLUDES = \
135 $(srcdir)/fdl.texi
b0787093
AC
136STABS_DOC_BUILD_INCLUDES =
137STABS_DOC_FILES = \
138 $(srcdir)/stabs.texinfo \
139 $(STABS_DOC_SOURCE_INCLUDES) \
140 $(STABS_DOC_BUILD_INCLUDES)
c906108c 141
e6f672d2
AC
142# Annotate migration document
143ANNOTATE_DOC_SOURCE_INCLUDES = \
144 $(srcdir)/fdl.texi
145ANNOTATE_DOC_BUILD_INCLUDES = \
146 gdb-cfg.texi
147ANNOTATE_DOC_FILES = \
148 $(srcdir)/annotate.texinfo \
149 $(ANNOTATE_DOC_SOURCE_INCLUDES) \
150 $(ANNOTATE_DOC_BUILD_INCLUDES)
151
c906108c
SS
152#### Host, target, and site specific Makefile fragments come in here.
153###
154
35db0260 155all:
c906108c 156
63ac3005 157info: $(INFO_DEPS)
e6f672d2
AC
158dvi: gdb.dvi gdbint.dvi stabs.dvi refcard.dvi annotate.dvi
159ps: gdb.ps gdbint.ps stabs.ps refcard.ps annotate.ps
e5249f67 160html: gdb_toc.html gdbint_toc.html stabs_toc.html annotate_toc.html
9453113a 161pdf: $(PDFFILES)
449f3b6c 162all-doc: info dvi ps # pdf
3555de01 163diststuff: info
c906108c 164
63ac3005 165install-info: $(INFO_DEPS)
c938e9b0 166 $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(infodir)
63ac3005
EZ
167 @list='$(INFO_DEPS)'; \
168 for file in $$list; do \
169 if test -f $$file; then d=.; else d=$(srcdir); fi; \
170 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
171 if test -f $$d/$$ifile; then \
c938e9b0
L
172 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
173 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
63ac3005
EZ
174 else : ; fi; \
175 done; \
176 done
c166cdc7 177 $(POST_INSTALL)
d3229ae3 178 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
63ac3005 179 list='$(INFO_DEPS)'; \
d3229ae3 180 for file in $$list; do \
5843504f
EZ
181 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
182 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
d3229ae3
EZ
183 done; \
184 else : ; fi
c906108c 185
c166cdc7
EZ
186uninstall-info:
187 $(PRE_UNINSTALL)
188 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
189 ii=yes; \
190 else ii=; fi; \
191 list='$(INFO_DEPS)'; \
192 for file in $$list; do \
193 test -z "$$ii" \
194 || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
195 done
196 $(NORMAL_UNINSTALL)
197 list='$(INFO_DEPS)'; \
198 for file in $$list; do \
199 (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
200 done
201
085dd6e6
JM
202install-html: html
203 for i in *.html ; do \
c938e9b0 204 $(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i ; \
085dd6e6
JM
205 done
206
9453113a
DJ
207pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
208
209install-pdf: $(PDFFILES)
210 @$(NORMAL_INSTALL)
211 test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)"
212 @list='$(PDFFILES)'; for p in $$list; do \
213 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
214 f=$(pdf__strip_dir) \
215 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
216 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
217 done
218
449f3b6c 219STAGESTUFF = *.info* gdb-all.texi GDBvn.texi *.ps *.dvi *.pdf
c906108c
SS
220
221# Copy the object files from a particular stage into a subdirectory.
222stage1: force
223 -mkdir stage1
224 -mv $(STAGESTUFF) stage1
225
226stage2: force
227 -mkdir stage2
228 -mv $(STAGESTUFF) stage2
229
230stage3: force
231 -mkdir stage3
232 -mv $(STAGESTUFF) stage3
233
234against=stage2
235
236comparison: force
237 for i in $(STAGESTUFF) ; do cmp $$i $(against)/$$i ; done
238
239de-stage1: force
240 -(cd stage1 ; mv -f * ..)
241 -rmdir stage1
242
243de-stage2: force
244 -(cd stage2 ; mv -f * ..)
245 -rmdir stage2
246
247de-stage3: force
248 -(cd stage3 ; mv -f * ..)
249 -rmdir stage3
250
c906108c
SS
251# GDB QUICK REFERENCE (dvi output)
252refcard.dvi : refcard.tex $(REFEDITS)
dfa249fb
AC
253 echo > tmp.sed
254 for f in x $(REFEDITS) ; do \
255 test x$$f = xx && continue ; \
256 cat $(srcdir)/$$f >>tmp.sed ; \
257 done
258 sed -f tmp.sed $(srcdir)/refcard.tex >sedref.tex
c906108c
SS
259 $(SET_TEXINPUTS) $(TEX) sedref.tex
260 mv sedref.dvi refcard.dvi
261 rm -f sedref.log sedref.tex tmp.sed
262
263refcard.ps : refcard.dvi
264 $(DVIPS) -t landscape -o $@ $?
265
9453113a
DJ
266refcard.pdf : refcard.tex $(REFEDITS)
267 echo > tmp.sed
268 for f in x $(REFEDITS) ; do \
269 test x$$f = xx && continue ; \
270 cat $(srcdir)/$$f >>tmp.sed ; \
271 done
272 sed -f tmp.sed $(srcdir)/refcard.tex >sedref.tex
273 $(SET_TEXINPUTS) $(PDFTEX) sedref.tex
274 mv sedref.pdf refcard.pdf
275 rm -f sedref.log sedref.tex tmp.sed
276
05a54c4f
AC
277# File to record current GDB version number (copied from main dir version.in)
278GDBvn.texi : ${gdbdir}/version.in
9ba8d803 279 echo "@set GDBVN `sed q $(srcdir)/../version.in`" > ./GDBvn.new
c906108c
SS
280 mv GDBvn.new GDBvn.texi
281
282# Updated atomically
283.PRECIOUS: GDBvn.texi
284
285# Choose configuration for GDB manual (normally `all'; normally not tied into
286# `configure' script because most users prefer generic version of manual,
287# not one for their binary config---which may not be specifically
288# defined anyways).
289gdb-cfg.texi: ${srcdir}/${DOC_CONFIG}-cfg.texi
44e2be90 290 (test "$(LN_S)" = "ln -s" && \
39ec5655 291 ln -s ${srcdir}/${DOC_CONFIG}-cfg.texi gdb-cfg.texi) || \
c906108c
SS
292 ln ${srcdir}/${DOC_CONFIG}-cfg.texi gdb-cfg.texi || \
293 cp ${srcdir}/${DOC_CONFIG}-cfg.texi gdb-cfg.texi
294
295# GDB MANUAL: texinfo source, using @set/@clear/@value/@ifset/@ifclear
296# If your texinfo or makeinfo don't support these, get a new texinfo release
297#
298# The nonsense with GDBvn.texi gets this to run with both Sun and GNU make.
299# Note that we can *generate* GDBvn.texi, but since we distribute one in the
300# source directory for the benefit of people who *don't* use this makefile,
301# VPATH will often tell make not to bother building it, because the one
302# in the srcdir is up to date. (if not, then make should build one here).
303
46d8b1c3
AC
304# Clean these up before each run. Avoids a catch 22 with not being
305# able to re-generate these files (to fix a corruption) because these
306# files contain a corruption.
b0787093
AC
307GDB_TEX_TMPS = gdb.aux gdb.cp* gdb.fn* gdb.ky* gdb.log gdb.pg* gdb.toc \
308 gdb.tp* gdb.vr*
309
c906108c 310# GDB MANUAL: TeX dvi file
b0787093 311gdb.dvi: ${GDB_DOC_FILES}
c906108c 312 if [ ! -f ./GDBvn.texi ]; then \
44e2be90 313 (test "$(LN_S)" = "ln -s" && ln -s $(srcdir)/GDBvn.texi .) || \
c906108c
SS
314 ln $(srcdir)/GDBvn.texi . || \
315 cp $(srcdir)/GDBvn.texi . ; else true; fi
b0787093 316 rm -f $(GDB_TEX_TMPS)
be298bcc 317 $(SET_TEXINPUTS) $(TEXI2DVI) $(srcdir)/gdb.texinfo
c906108c
SS
318
319gdb.ps: gdb.dvi
320 $(DVIPS) -o $@ $?
321
b0787093 322gdb.pdf: ${GDB_DOC_FILES}
449f3b6c 323 if [ ! -f ./GDBvn.texi ]; then \
44e2be90 324 (test "$(LN_S)" = "ln -s" && ln -s $(srcdir)/GDBvn.texi .) || \
449f3b6c
AC
325 ln $(srcdir)/GDBvn.texi . || \
326 cp $(srcdir)/GDBvn.texi . ; else true; fi
b0787093 327 rm -f $(GDB_TEX_TMPS)
be298bcc 328 $(SET_TEXINPUTS) $(TEXI2DVI) --pdf $(srcdir)/gdb.texinfo
449f3b6c 329
c906108c 330# GDB MANUAL: info file
b0787093 331gdb.info: ${GDB_DOC_FILES}
a7b40f07
AC
332 $(MAKEINFO) -I ${READLINE_DIR} -I ${GDBMI_DIR} -I $(srcdir) \
333 -o gdb.info $(srcdir)/gdb.texinfo
c906108c
SS
334
335# GDB MANUAL: roff translations
336# Try to use a recent texi2roff. v2 was put on prep in jan91.
337# If you want an index, see texi2roff doc for postprocessing
338# and add -i to texi2roff invocations below.
339# Workarounds for texi2roff-2 (probably fixed in later texi2roff's, delete
340# corresponding -e lines when later texi2roff's are current)
341# + @ifinfo's deleted explicitly due to texi2roff-2 bug w nested constructs.
342# + @c's deleted explicitly because texi2roff sees texinfo commands in them
343# + @ (that's at-BLANK) not recognized by texi2roff, turned into blank
344# + @alphaenumerate is ridiculously new, turned into @enumerate
345
346# texi2roff doesn't have a notion of include dirs, so we have to fake
347# it out for gdb manual's include files---but only if not configured
348# in main sourcedir.
b0787093 349links2roff: $(GDB_DOC_SOURCE_INCLUDES)
c906108c 350 if [ ! -f gdb.texinfo ]; then \
44e2be90 351 (test "$(LN_S)" = "ln -s" && ln -s $(GDB_DOC_SOURCE_INCLUDES) .) || \
b0787093
AC
352 ln $(GDB_DOC_SOURCE_INCLUDES) . || \
353 cp $(GDB_DOC_SOURCE_INCLUDES) . ; \
c906108c
SS
354 fi
355 touch links2roff
356
c906108c 357# gdb manual suitable for [gtn]roff -me
b0787093 358gdb.me: $(GDB_DOC_FILES) links2roff
c906108c
SS
359 sed -e '/\\input texinfo/d' \
360 -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
361 -e '/^@ifinfo/,/^@end ifinfo/d' \
362 -e '/^@c /d' \
363 -e 's/{.*,,/{/' \
364 -e 's/@ / /g' \
365 -e 's/^@alphaenumerate/@enumerate/g' \
366 -e 's/^@end alphaenumerate/@end enumerate/g' \
367 $(srcdir)/gdb.texinfo | \
368 $(TEXI2ROFF) -me | \
369 sed -e 's/---/\\(em/g' \
370 >gdb.me
371
372# gdb manual suitable for [gtn]roff -ms
b0787093 373gdb.ms: $(GDB_DOC_FILES) links2roff
c906108c
SS
374 sed -e '/\\input texinfo/d' \
375 -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
376 -e '/^@ifinfo/,/^@end ifinfo/d' \
377 -e '/^@c /d' \
378 -e 's/{.*,,/{/' \
379 -e 's/@ / /g' \
380 -e 's/^@alphaenumerate/@enumerate/g' \
381 -e 's/^@end alphaenumerate/@end enumerate/g' \
382 $(srcdir)/gdb.texinfo | \
383 $(TEXI2ROFF) -ms | \
384 sed -e 's/---/\\(em/g' \
385 >gdb.ms
386
387# gdb manual suitable for [tn]roff -mm
388# '@noindent's removed due to texi2roff-2 mm bug; if yours is newer,
389# try leaving them in
b0787093 390gdb.mm: $(GDB_DOC_FILES) links2roff
c906108c
SS
391 sed -e '/\\input texinfo/d' \
392 -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
393 -e '/^@ifinfo/,/^@end ifinfo/d' \
394 -e '/^@c /d' \
395 -e 's/{.*,,/{/' \
396 -e '/@noindent/d' \
397 -e 's/@ / /g' \
398 -e 's/^@alphaenumerate/@enumerate/g' \
399 -e 's/^@end alphaenumerate/@end enumerate/g' \
400 $(srcdir)/gdb.texinfo | \
401 $(TEXI2ROFF) -mm | \
402 sed -e 's/---/\\(em/g' \
403 >gdb.mm
404
085dd6e6
JM
405# GDB MANUAL: HTML file
406
b0787093 407gdb_toc.html: ${GDB_DOC_FILES}
7162c0ca 408 $(MAKEHTML) $(MAKEHTMLFLAGS) -I ${READLINE_DIR} -I ${GDBMI_DIR} -I $(srcdir) $(srcdir)/gdb.texinfo
085dd6e6 409
46d8b1c3
AC
410# Clean these up before each run. Avoids a catch 22 with not being
411# able to re-generate these files (to fix a corruption) because these
412# files contain a corruption.
b0787093
AC
413GDBINT_TEX_TMPS = gdbint.aux gdbint.cp* gdbint.fn* gdbint.ky* \
414 gdbint.log gdbint.pg* gdbint.toc gdbint.tp* gdbint.vr*
415
c906108c 416# GDB INTERNALS MANUAL: TeX dvi file
b0787093
AC
417gdbint.dvi: $(GDBINT_DOC_FILES)
418 rm -f $(GDBINT_TEX_TMPS)
be298bcc 419 $(SET_TEXINPUTS) $(TEXI2DVI) $(srcdir)/gdbint.texinfo
c906108c
SS
420
421gdbint.ps : gdbint.dvi
422 $(DVIPS) -o $@ $?
423
b0787093
AC
424gdbint.pdf: $(GDBINT_DOC_FILES)
425 rm -f $(GDBINT_TEX_TMPS)
be298bcc 426 $(SET_TEXINPUTS) $(TEXI2DVI) --pdf $(srcdir)/gdbint.texinfo
449f3b6c 427
c906108c
SS
428# GDB INTERNALS MANUAL: info file
429
b0787093 430gdbint.info: $(GDBINT_DOC_FILES)
aab4e0ec 431 $(MAKEINFO) -I $(srcdir) -o gdbint.info $(srcdir)/gdbint.texinfo
c906108c 432
085dd6e6
JM
433# GDB INTERNALS MANUAL: HTML file
434
b0787093 435gdbint_toc.html: $(GDBINT_DOC_FILES)
085dd6e6
JM
436 $(MAKEHTML) $(MAKEHTMLFLAGS) $(srcdir)/gdbint.texinfo
437
b0787093 438stabs.info: $(STABS_DOC_FILES)
e5249f67 439 $(MAKEINFO) -I $(srcdir) -o stabs.info $(srcdir)/stabs.texinfo
c906108c 440
085dd6e6
JM
441# STABS DOCUMENTATION: HTML file
442
b0787093 443stabs_toc.html: $(STABS_DOC_FILES)
085dd6e6
JM
444 $(MAKEHTML) $(MAKEHTMLFLAGS) $(srcdir)/stabs.texinfo
445
46d8b1c3
AC
446# Clean these up before each run. Avoids a catch 22 with not being
447# able to re-generate these files (to fix a corruption) because these
448# files contain a corruption.
b0787093
AC
449STABS_TEX_TMPS = stabs.aux stabs.cp* stabs.fn* stabs.ky* \
450 stabs.log stabs.pg* stabs.toc stabs.tp* stabs.vr*
451
c906108c 452# STABS DOCUMENTATION: TeX dvi file
b0787093
AC
453stabs.dvi : $(STABS_DOC_FILES)
454 rm -f $(STABS_TEX_TMPS)
be298bcc 455 $(SET_TEXINPUTS) $(TEXI2DVI) $(srcdir)/stabs.texinfo
c906108c
SS
456
457stabs.ps: stabs.dvi
458 $(DVIPS) -o $@ $?
459
b0787093
AC
460stabs.pdf: $(STABS_DOC_FILES)
461 rm -f $(STABS_TEX_TMPS)
be298bcc 462 $(SET_TEXINPUTS) $(TEXI2DVI) --pdf $(srcdir)/stabs.texinfo
449f3b6c 463
e6f672d2
AC
464# Clean these up before each run. Avoids a catch 22 with not being
465# able to re-generate these files (to fix a corruption) because these
466# files contain a corruption.
467ANNOTATE_TEX_TMPS = annotate.aux annotate.cp* annotate.fn* annotate.ky* \
468 annotate.log annotate.pg* annotate.toc annotate.tp* annotate.vr*
469
470# ANNOTATE DOCUMENTATION: TeX dvi file
471annotate.dvi : $(ANNOTATE_DOC_FILES)
472 rm -f $(ANNOTATE_TEX_TMPS)
473 $(SET_TEXINPUTS) $(TEXI2DVI) $(srcdir)/annotate.texinfo
474
475annotate.ps: annotate.dvi
476 $(DVIPS) -o $@ $?
477
478annotate.pdf: $(ANNOTATE_DOC_FILES)
479 rm -f $(ANNOTATE_TEX_TMPS)
480 $(SET_TEXINPUTS) $(TEXI2DVI) --pdf $(srcdir)/annotate.texinfo
481
482annotate.info: $(ANNOTATE_DOC_FILES)
483 $(MAKEINFO) -I $(srcdir) -o annotate.info $(srcdir)/annotate.texinfo
484
485annotate_toc.html: $(ANNOTATE_DOC_FILES)
486 $(MAKEHTML) $(MAKEHTMLFLAGS) $(srcdir)/annotate.texinfo
487
c906108c
SS
488force:
489
490Makefile: Makefile.in $(host_makefile_frag) $(target_makefile_frag) config.status
491 $(SHELL) ./config.status
46d8b1c3
AC
492
493
494# The "least clean" level of cleaning. Get rid of files which are
495# automatically generated files that are just intermediate files,
496
497mostlyclean:
498 rm -f gdb.mm gdb.ms gdb.me links2roff
499 rm -f $(GDB_TEX_TMPS)
500 rm -f $(GDBINT_TEX_TMPS)
501 rm -f $(STABS_TEX_TMPS)
e6f672d2 502 rm -f $(ANNOTATE_TEX_TMPS)
46d8b1c3
AC
503 rm -f sedref.dvi sedref.tex tmp.sed
504
505clean: mostlyclean
506 rm -f gdb-cfg.texi
507
508distclean: clean
d7f4a264 509 rm -f Makefile config.status config.log
46d8b1c3
AC
510
511# GDBvn.texi, the dvi files, the info files, and the postscript files,
512# are all part of the distribution, so it should not be removed by
513# "clean" or "distclean". Use maintainer-clean to remove them.
514
515maintainer-clean realclean: distclean
516 rm -f GDBvn.texi *.info* *.dvi *.ps *.html *.pdf
517
35db0260 518install: install-info
c166cdc7
EZ
519
520uninstall: uninstall-info
This page took 0.460954 seconds and 4 git commands to generate.