Remove auot generated man pages
[deliverable/binutils-gdb.git] / binutils / doc / Makefile.in
CommitLineData
c45021f2
NC
1# Makefile.in generated automatically by automake 1.4 from Makefile.am
2
3# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4# This Makefile.in is free software; the Free Software Foundation
5# gives unlimited permission to copy and/or distribute it,
6# with or without modifications, as long as this notice is preserved.
7
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11# PARTICULAR PURPOSE.
12
13
14SHELL = @SHELL@
15
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
19prefix = @prefix@
20exec_prefix = @exec_prefix@
21
22bindir = @bindir@
23sbindir = @sbindir@
24libexecdir = @libexecdir@
25datadir = @datadir@
26sysconfdir = @sysconfdir@
27sharedstatedir = @sharedstatedir@
28localstatedir = @localstatedir@
29libdir = @libdir@
30infodir = @infodir@
31mandir = @mandir@
32includedir = @includedir@
33oldincludedir = /usr/include
34
35DESTDIR =
36
37pkgdatadir = $(datadir)/@PACKAGE@
38pkglibdir = $(libdir)/@PACKAGE@
39pkgincludedir = $(includedir)/@PACKAGE@
40
41top_builddir = ..
42
43ACLOCAL = @ACLOCAL@
44AUTOCONF = @AUTOCONF@
45AUTOMAKE = @AUTOMAKE@
46AUTOHEADER = @AUTOHEADER@
47
48INSTALL = @INSTALL@
49INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50INSTALL_DATA = @INSTALL_DATA@
51INSTALL_SCRIPT = @INSTALL_SCRIPT@
52transform = @program_transform_name@
53
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
60build_alias = @build_alias@
61build_triplet = @build@
62host_alias = @host_alias@
63host_triplet = @host@
64target_alias = @target_alias@
65target_triplet = @target@
66CC = @CC@
67EXEEXT = @EXEEXT@
68LIBTOOL = @LIBTOOL@
69RANLIB = @RANLIB@
70
71AUTOMAKE_OPTIONS = cygnus
72
73# What version of the manual you want; "all" includes everything
74CONFIG = all
75
76# Options to extract the man page from as.texinfo
77MANCONF = -Dman
78
79TEXI2POD = perl $(top_srcdir)/../etc/texi2pod.pl
80
81POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
82
83# List of man pages generated from binutils.texi
84man_MANS = \
85 addr2line.1 \
86 ar.1 \
87 dlltool.1 \
88 nlmconv.1 \
89 nm.1 \
90 objcopy.1 \
91 objdump.1 \
92 ranlib.1 \
93 readelf.1 \
94 size.1 \
95 strings.1 \
96 strip.1 \
97 windres.1 \
98 $(DEMANGLER_NAME).1
99
100
101info_TEXINFOS = binutils.texi
102
103BINUTILS_TEXI = $(srcdir)/binutils.texi
104
105MAINTAINERCLEANFILES = config.texi
106DISTCLEANFILES = config.texi
107MOSTLYCLEANFILES = $(DEMANGLER_NAME).1
108mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
109CONFIG_CLEAN_FILES =
110MAKEINFO = `if test -f $(top_builddir)/../texinfo/makeinfo/makeinfo; then echo $(top_builddir)/../texinfo/makeinfo/makeinfo; else echo makeinfo; fi`
111TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
112TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
113INFO_DEPS = binutils.info
114DVIS = binutils.dvi
115TEXINFOS = binutils.texi
116man1dir = $(mandir)/man1
117MANS = $(man_MANS)
118
119NROFF = nroff
120DIST_COMMON = Makefile.am Makefile.in
121
122
123DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
124
125TAR = gtar
126GZIP_ENV = --best
127all: all-redirect
128.SUFFIXES:
129.SUFFIXES: .dvi .info .ps .texi .texinfo .txi
130$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
131 cd $(top_srcdir) && $(AUTOMAKE) --cygnus doc/Makefile
132
133Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
134 cd $(top_builddir) \
135 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
136
137
138binutils.info: binutils.texi
139binutils.dvi: binutils.texi
140
141
142DVIPS = dvips
143
144.texi.info:
145 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
146 $(MAKEINFO) -I $(srcdir) $<
147
148.texi.dvi:
149 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
150 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
151
152.texi:
153 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
154 $(MAKEINFO) -I $(srcdir) $<
155
156.texinfo.info:
157 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
158 $(MAKEINFO) -I $(srcdir) $<
159
160.texinfo:
161 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
162 $(MAKEINFO) -I $(srcdir) $<
163
164.texinfo.dvi:
165 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
166 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
167
168.txi.info:
169 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
170 $(MAKEINFO) -I $(srcdir) $<
171
172.txi.dvi:
173 TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
174 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
175
176.txi:
177 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
178 $(MAKEINFO) -I $(srcdir) $<
179.dvi.ps:
180 $(DVIPS) $< -o $@
181
182install-info-am: $(INFO_DEPS)
183 @$(NORMAL_INSTALL)
184 $(mkinstalldirs) $(DESTDIR)$(infodir)
185 @list='$(INFO_DEPS)'; \
186 for file in $$list; do \
187 if test -f $$file; then d=.; else d=$(srcdir); fi; \
188 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
189 if test -f $$d/$$ifile; then \
190 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
191 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
192 else : ; fi; \
193 done; \
194 done
195 @$(POST_INSTALL)
196 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
197 list='$(INFO_DEPS)'; \
198 for file in $$list; do \
199 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
200 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
201 done; \
202 else : ; fi
203
204uninstall-info:
205 $(PRE_UNINSTALL)
206 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
207 ii=yes; \
208 else ii=; fi; \
209 list='$(INFO_DEPS)'; \
210 for file in $$list; do \
211 test -z "$ii" \
212 || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
213 done
214 @$(NORMAL_UNINSTALL)
215 list='$(INFO_DEPS)'; \
216 for file in $$list; do \
217 (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
218 done
219
220dist-info: $(INFO_DEPS)
221 list='$(INFO_DEPS)'; \
222 for base in $$list; do \
223 if test -f $$base; then d=.; else d=$(srcdir); fi; \
224 for file in `cd $$d && eval echo $$base*`; do \
225 test -f $(distdir)/$$file \
226 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
227 || cp -p $$d/$$file $(distdir)/$$file; \
228 done; \
229 done
230
231mostlyclean-aminfo:
232 -rm -f binutils.aux binutils.cp binutils.cps binutils.dvi binutils.fn \
233 binutils.fns binutils.ky binutils.kys binutils.ps \
234 binutils.log binutils.pg binutils.toc binutils.tp \
235 binutils.tps binutils.vr binutils.vrs binutils.op binutils.tr \
236 binutils.cv binutils.cn
237
238clean-aminfo:
239
240distclean-aminfo:
241
242maintainer-clean-aminfo:
243 for i in $(INFO_DEPS); do \
244 rm -f $$i; \
245 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
246 rm -f $$i-[0-9]*; \
247 fi; \
248 done
249clean-info: mostlyclean-aminfo
250
251install-man1:
252 $(mkinstalldirs) $(DESTDIR)$(man1dir)
253 @list='$(man1_MANS)'; \
254 l2='$(man_MANS)'; for i in $$l2; do \
255 case "$$i" in \
256 *.1*) list="$$list $$i" ;; \
257 esac; \
258 done; \
259 for i in $$list; do \
260 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
261 else file=$$i; fi; \
262 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
263 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
264 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
265 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
266 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
267 done
268
269uninstall-man1:
270 @list='$(man1_MANS)'; \
271 l2='$(man_MANS)'; for i in $$l2; do \
272 case "$$i" in \
273 *.1*) list="$$list $$i" ;; \
274 esac; \
275 done; \
276 for i in $$list; do \
277 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
278 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
279 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
280 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
281 rm -f $(DESTDIR)$(man1dir)/$$inst; \
282 done
283install-man: $(MANS)
284 @$(NORMAL_INSTALL)
285 $(MAKE) $(AM_MAKEFLAGS) install-man1
286uninstall-man:
287 @$(NORMAL_UNINSTALL)
288 $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
289tags: TAGS
290TAGS:
291
292
293distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
294
295subdir = doc
296
297# This target untars the dist file and tries a VPATH configuration. Then
298# it guarantees that the distribution is self-contained by making another
299# tarfile.
300distcheck: dist
301 -rm -rf $(distdir)
302 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
303 mkdir $(distdir)/=build
304 mkdir $(distdir)/=inst
305 dc_install_base=`cd $(distdir)/=inst && pwd`; \
306 cd $(distdir)/=build \
307 && ../configure --srcdir=.. --prefix=$$dc_install_base \
308 && $(MAKE) $(AM_MAKEFLAGS) \
309 && $(MAKE) $(AM_MAKEFLAGS) dvi \
310 && $(MAKE) $(AM_MAKEFLAGS) check \
311 && $(MAKE) $(AM_MAKEFLAGS) install \
312 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
313 && $(MAKE) $(AM_MAKEFLAGS) dist
314 -rm -rf $(distdir)
315 @banner="$(distdir).tar.gz is ready for distribution"; \
316 dashes=`echo "$$banner" | sed s/./=/g`; \
317 echo "$$dashes"; \
318 echo "$$banner"; \
319 echo "$$dashes"
320dist: distdir
321 -chmod -R a+r $(distdir)
322 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
323 -rm -rf $(distdir)
324dist-all: distdir
325 -chmod -R a+r $(distdir)
326 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
327 -rm -rf $(distdir)
328distdir: $(DISTFILES)
329 -rm -rf $(distdir)
330 mkdir $(distdir)
331 -chmod 777 $(distdir)
332 @for file in $(DISTFILES); do \
333 if test -f $$file; then d=.; else d=$(srcdir); fi; \
334 if test -d $$d/$$file; then \
335 cp -pr $$d/$$file $(distdir)/$$file; \
336 else \
337 test -f $(distdir)/$$file \
338 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
339 || cp -p $$d/$$file $(distdir)/$$file || :; \
340 fi; \
341 done
342 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
343info-am: $(INFO_DEPS)
344info: info-am
345dvi-am: $(DVIS)
346dvi: dvi-am
347check-am:
348check: check-am
349installcheck-am:
350installcheck: installcheck-am
351install-info-am:
352install-info: install-info-am
353install-exec-am:
354install-exec: install-exec-am
355
356install-data-am: install-man
357install-data: install-data-am
358
359install-am: all-am
360 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
361install: install-am
362uninstall-am: uninstall-man
363uninstall: uninstall-am
364all-am: Makefile $(MANS)
365all-redirect: all-am
366install-strip:
367 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
368installdirs:
369 $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
370
371
372mostlyclean-generic:
373 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
374
375clean-generic:
376
377distclean-generic:
378 -rm -f Makefile $(CONFIG_CLEAN_FILES)
379 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
380 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
381
382maintainer-clean-generic:
383 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
384mostlyclean-am: mostlyclean-aminfo mostlyclean-generic
385
386mostlyclean: mostlyclean-am
387
388clean-am: clean-aminfo clean-generic mostlyclean-am
389
390clean: clean-am
391
392distclean-am: distclean-aminfo distclean-generic clean-am
393 -rm -f libtool
394
395distclean: distclean-am
396
397maintainer-clean-am: maintainer-clean-aminfo maintainer-clean-generic \
398 distclean-am
399 @echo "This command is intended for maintainers to use;"
400 @echo "it deletes files that may require special tools to rebuild."
401
402maintainer-clean: maintainer-clean-am
403
404.PHONY: install-info-am uninstall-info mostlyclean-aminfo \
405distclean-aminfo clean-aminfo maintainer-clean-aminfo install-man1 \
406uninstall-man1 install-man uninstall-man tags distdir info-am info \
407dvi-am dvi check check-am installcheck-am installcheck install-info-am \
408install-info install-exec-am install-exec install-data-am install-data \
409install-am install uninstall-am uninstall all-redirect all-am all \
410installdirs mostlyclean-generic distclean-generic clean-generic \
411maintainer-clean-generic clean mostlyclean distclean maintainer-clean
412
413
414config.texi: Makefile
415 rm -f config.texi
416 echo '@set VERSION $(VERSION)' > config.texi
417
418binutils.dvi: $(BINUTILS_TEXI) config.texi
419
420binutils.info: $(BINUTILS_TEXI) config.texi
421
422# Man page generation from texinfo
423addr2line.1: $(BINUTILS_TEXI)
424 touch $@
425 -$(TEXI2POD) $(MANCONF) -Daddr2line < $< > $@.pod
426 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
427 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
428 rm -f $@.pod
429
430ar.1: $(BINUTILS_TEXI)
431 touch $@
432 -$(TEXI2POD) $(MANCONF) -Dar < $< > $@.pod
433 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
434 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
435 rm -f $@.pod
436
437dlltool.1: $(BINUTILS_TEXI)
438 touch $@
439 -$(TEXI2POD) $(MANCONF) -Ddlltool < $< > $@.pod
440 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
441 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
442 rm -f $@.pod
443
444nlmconv.1: $(BINUTILS_TEXI)
445 touch $@
446 -$(TEXI2POD) $(MANCONF) -Dnlmconv < $< > $@.pod
447 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
448 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
449 rm -f $@.pod
450
451nm.1: $(BINUTILS_TEXI)
452 touch $@
453 -$(TEXI2POD) $(MANCONF) -Dnm < $< > $@.pod
454 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
455 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
456 rm -f $@.pod
457
458objcopy.1: $(BINUTILS_TEXI)
459 touch $@
460 -$(TEXI2POD) $(MANCONF) -Dobjcopy < $< > $@.pod
461 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
462 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
463 rm -f $@.pod
464
465objdump.1: $(BINUTILS_TEXI)
466 touch $@
467 -$(TEXI2POD) $(MANCONF) -Dobjdump < $< > $@.pod
468 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
469 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
470 rm -f $@.pod
471
472ranlib.1: $(BINUTILS_TEXI)
473 touch $@
474 -$(TEXI2POD) $(MANCONF) -Dranlib < $< > $@.pod
475 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
476 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
477 rm -f $@.pod
478
479readelf.1: $(BINUTILS_TEXI)
480 touch $@
481 -$(TEXI2POD) $(MANCONF) -Dreadelf < $< > $@.pod
482 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
483 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
484 rm -f $@.pod
485
486size.1: $(BINUTILS_TEXI)
487 touch $@
488 -$(TEXI2POD) $(MANCONF) -Dsize < $< > $@.pod
489 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
490 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
491 rm -f $@.pod
492
493strings.1: $(BINUTILS_TEXI)
494 touch $@
495 -$(TEXI2POD) $(MANCONF) -Dstrings < $< > $@.pod
496 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
497 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
498 rm -f $@.pod
499
500strip.1: $(BINUTILS_TEXI)
501 touch $@
502 -$(TEXI2POD) $(MANCONF) -Dstrip < $< > $@.pod
503 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
504 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
505 rm -f $@.pod
506
507windres.1: $(BINUTILS_TEXI)
508 touch $@
509 -$(TEXI2POD) $(MANCONF) -Dwindres < $< > $@.pod
510 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
511 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
512 rm -f $@.pod
513
514cxxfilt.man: $(BINUTILS_TEXI)
515 touch $@
516 -$(TEXI2POD) $(MANCONF) -Dcxxfilt < $< > $@.pod
517 -($(POD2MAN) $@.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
518 mv -f $@.T$$$$ $@) || (rm -f $@.T$$$$ && exit 1)
519 rm -f $@.pod
520
521$(DEMANGLER_NAME).1: cxxfilt.man Makefile
522 sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' < cxxfilt.man \
523 > $(DEMANGLER_NAME).1
524
525# Maintenance
526
527# We need it for the taz target in ../../Makefile.in.
528info: $(MANS)
529
530# Build the man page from the texinfo file
531# The sed command removes the no-adjust Nroff command so that
532# the man output looks standard.
533as.1: $(srcdir)/as.texinfo
534 touch $@
535 -$(TEXI2POD) $(MANCONF) < $(srcdir)/as.texinfo > as.pod
536 -($(POD2MAN) as.pod | \
537 sed -e '/^.if n .na/d' > $@.T$$$$ && \
538 mv -f $@.T$$$$ $@) || \
539 (rm -f $@.T$$$$ && exit 1)
540 rm -f as.pod
541
542# Tell versions [3.59,3.63) of GNU make to not export all variables.
543# Otherwise a system limit (for SysV at least) may be exceeded.
544.NOEXPORT:
This page took 0.043875 seconds and 4 git commands to generate.