1 ## Process this file with automake to generate Makefile.in
3 # Copyright (C) 2012-2024 Free Software Foundation, Inc.
5 # This file 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 3 of the License, or
8 # (at your option) any later version.
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.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; see the file COPYING3. If not see
17 # <http://www.gnu.org/licenses/>.
20 # What version of the manual you want; "all" includes everything
23 # Options to extract the man page from as.texi
26 TEXI2POD
= perl
$(BASEDIR
)/etc
/texi2pod.pl
$(AM_MAKEINFOFLAGS
)
28 POD2MAN
= pod2man
--center
="GNU Development Tools" \
29 --release
="binutils-$(VERSION)" --section
=1
33 info_TEXINFOS
= %D
%/as.texi
34 %C
%_as_TEXINFOS
= %D
%/asconfig.texi
$(CPU_DOCS
)
36 AM_MAKEINFOFLAGS
= -I
"$(srcdir)/%D%" -I
%D
% -I
"$(srcdir)/../libiberty" \
37 -I
"$(srcdir)/../bfd/doc" -I ..
/bfd
/doc \
39 TEXI2DVI
= texi2dvi -I
"$(srcdir)/%D%" -I
%D
% -I
"$(srcdir)/../libiberty" \
40 -I
"$(srcdir)/../bfd/doc" -I ..
/bfd
/doc
42 %D
%/asconfig.texi
: %D
%/$(CONFIG
).texi
%D
%/$(am__dirstamp
)
43 $(AM_V_at
)rm -f
%D
%/asconfig.texi
44 $(AM_V_GEN
)cp
$(srcdir)/%D
%/$(CONFIG
).texi
%D
%/asconfig.texi
&& touch
-m
-r
$(srcdir)/%D
%/$(CONFIG
).texi
%D
%/asconfig.texi
45 $(AM_V_at
)chmod u
+w
%D
%/asconfig.texi
72 %D
%/c-microblaze.texi \
100 %D
%/c-xstormy16.texi \
105 # This one isn't ready for prime time yet. Not even a little bit.
107 noinst_TEXINFOS
= %D
%/internals.texi
109 MAINTAINERCLEANFILES
+= %D
%/asconfig.texi
113 # We need it for the taz target in ../Makefile.in.
116 # Build the man page from the texinfo file
117 # The sed command removes the no-adjust Nroff command so that
118 # the man output looks standard.
119 %D
%/as.1: $(srcdir)/%D
%/as.texi
%D
%/asconfig.texi
$(CPU_DOCS
) %D
%/$(am__dirstamp
)
121 $(AM_V_at
)-$(TEXI2POD
) $(MANCONF
) < $(srcdir)/%D
%/as.texi
> %D
%/as.pod
122 $(AM_V_at
)-($(POD2MAN
) %D
%/as.pod | \
123 sed
-e
'/^.if n .na/d' > $@.T
$$$$ && \
124 mv
-f
$@.T
$$$$ $@
) || \
125 (rm -f
$@.T
$$$$ && exit
1)
126 $(AM_V_at
)rm -f
%D
%/as.pod
128 html-local
: %D
%/as/index.html
129 %D
%/as/index.html
: %D
%/as.texi
$(%C
%_as_TEXINFOS
) %D
%/$(am__dirstamp
)
130 $(AM_V_GEN
)$(MAKEINFOHTML
) $(AM_MAKEINFOHTMLFLAGS
) $(MAKEINFOFLAGS
) \
131 --split
=node
-I
$(srcdir)/%D
% -o
%D
%/as $(srcdir)/%D
%/as.texi
133 MAINTAINERCLEANFILES
+= %D
%/as.
info