* doc/c-alpha.texi: Add docs for tls relocations.
[deliverable/binutils-gdb.git] / gas / doc / Makefile.am
1 ## Process this file with automake to generate Makefile.in
2
3 AUTOMAKE_OPTIONS = cygnus
4
5 # What version of the manual you want; "all" includes everything
6 CONFIG=all
7
8 # Options to extract the man page from as.texinfo
9 MANCONF = -Dman
10
11 TEXI2POD = perl $(top_srcdir)/../etc/texi2pod.pl
12
13 POD2MAN = pod2man --center="GNU Development Tools" \
14 --release="binutils-$(VERSION)" --section=1
15
16 man_MANS = as.1
17
18 # The gasp.texi file is now deprecated, as GASP has been deprecated.
19 # It will disappear in a future release.
20 info_TEXINFOS = as.texinfo
21
22 asconfig.texi: $(CONFIG).texi
23 rm -f asconfig.texi
24 ln -s $(srcdir)/$(CONFIG).texi ./asconfig.texi >/dev/null 2>&1 \
25 || ln $(srcdir)/$(CONFIG).texi ./asconfig.texi >/dev/null 2>&1 \
26 || cp $(srcdir)/$(CONFIG).texi ./asconfig.texi
27
28 CPU_DOCS = \
29 c-a29k.texi \
30 c-alpha.texi \
31 c-arc.texi \
32 c-arm.texi \
33 c-d10v.texi \
34 c-cris.texi \
35 c-h8300.texi \
36 c-h8500.texi \
37 c-hppa.texi \
38 c-i370.texi \
39 c-i386.texi \
40 c-i860.texi \
41 c-i960.texi \
42 c-m32r.texi \
43 c-m68hc11.texi \
44 c-m68k.texi \
45 c-m88k.texi \
46 c-mips.texi \
47 c-mmix.texi \
48 c-ns32k.texi \
49 c-pdp11.texi \
50 c-pj.texi \
51 c-ppc.texi \
52 c-sh.texi \
53 c-sh64.texi \
54 c-sparc.texi \
55 c-tic54x.texi \
56 c-vax.texi \
57 c-v850.texi \
58 c-z8k.texi
59
60 gasver.texi: Makefile
61 rm -f $@
62 echo '@set VERSION $(VERSION)' > $@
63
64 as.info: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS)
65 as.dvi: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS)
66
67 # We want install to imply install-info as per GNU standards, despite the
68 # cygnus option.
69 install: install-info
70
71 # This one isn't ready for prime time yet. Not even a little bit.
72
73 noinst_TEXINFOS = internals.texi gasp.texi
74
75 DISTCLEANFILES = asconfig.texi
76
77 MAINTAINERCLEANFILES = gasver.texi
78
79 # Maintenance
80
81 # We need it for the taz target in ../../Makefile.in.
82 info: $(MANS)
83
84 # Build the man page from the texinfo file
85 # The sed command removes the no-adjust Nroff command so that
86 # the man output looks standard.
87 as.1: $(srcdir)/as.texinfo
88 touch $@
89 -$(TEXI2POD) $(MANCONF) < $(srcdir)/as.texinfo > as.pod
90 -($(POD2MAN) as.pod | \
91 sed -e '/^.if n .na/d' > $@.T$$$$ && \
92 mv -f $@.T$$$$ $@) || \
93 (rm -f $@.T$$$$ && exit 1)
94 rm -f as.pod
This page took 0.032521 seconds and 4 git commands to generate.