1998-09-06 22:57:45 +00:00
|
|
|
## Process this file with automake to generate Makefile.in
|
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
|
|
|
|
# What version of the manual you want; "all" includes everything
|
|
|
|
CONFIG=all
|
|
|
|
|
2002-01-27 12:00:11 +00:00
|
|
|
# Options to extract the man page from as.texinfo
|
|
|
|
MANCONF = -Dman
|
|
|
|
|
|
|
|
TEXI2POD = perl $(top_srcdir)/../etc/texi2pod.pl
|
|
|
|
|
|
|
|
POD2MAN = pod2man --center="GNU Development Tools" \
|
|
|
|
--release="binutils-$(VERSION)" --section=1
|
|
|
|
|
1998-09-06 22:57:45 +00:00
|
|
|
man_MANS = as.1
|
|
|
|
|
2002-10-11 06:01:20 +00:00
|
|
|
# The gasp.texi file is now deprecated, as GASP has been deprecated.
|
|
|
|
# It will disappear in a future release.
|
|
|
|
info_TEXINFOS = as.texinfo
|
1998-09-06 22:57:45 +00:00
|
|
|
|
|
|
|
asconfig.texi: $(CONFIG).texi
|
|
|
|
rm -f asconfig.texi
|
|
|
|
ln -s $(srcdir)/$(CONFIG).texi ./asconfig.texi >/dev/null 2>&1 \
|
|
|
|
|| ln $(srcdir)/$(CONFIG).texi ./asconfig.texi >/dev/null 2>&1 \
|
|
|
|
|| cp $(srcdir)/$(CONFIG).texi ./asconfig.texi
|
|
|
|
|
|
|
|
CPU_DOCS = \
|
|
|
|
c-a29k.texi \
|
2002-02-22 04:18:42 +00:00
|
|
|
c-alpha.texi \
|
2001-05-28 05:21:37 +00:00
|
|
|
c-arc.texi \
|
1998-09-06 22:57:45 +00:00
|
|
|
c-arm.texi \
|
|
|
|
c-d10v.texi \
|
2002-02-22 04:18:42 +00:00
|
|
|
c-cris.texi \
|
1998-09-06 22:57:45 +00:00
|
|
|
c-h8300.texi \
|
|
|
|
c-h8500.texi \
|
|
|
|
c-hppa.texi \
|
2000-05-12 23:15:20 +00:00
|
|
|
c-i370.texi \
|
1998-09-06 22:57:45 +00:00
|
|
|
c-i386.texi \
|
2001-05-28 05:21:37 +00:00
|
|
|
c-i860.texi \
|
1998-09-06 22:57:45 +00:00
|
|
|
c-i960.texi \
|
2000-05-12 23:15:20 +00:00
|
|
|
c-m32r.texi \
|
2001-05-28 05:21:37 +00:00
|
|
|
c-m68hc11.texi \
|
1998-09-06 22:57:45 +00:00
|
|
|
c-m68k.texi \
|
2002-01-27 12:00:11 +00:00
|
|
|
c-m88k.texi \
|
1998-09-06 22:57:45 +00:00
|
|
|
c-mips.texi \
|
2002-01-27 12:00:11 +00:00
|
|
|
c-mmix.texi \
|
1998-09-06 22:57:45 +00:00
|
|
|
c-ns32k.texi \
|
2002-01-27 12:00:11 +00:00
|
|
|
c-pdp11.texi \
|
2000-05-12 23:15:20 +00:00
|
|
|
c-pj.texi \
|
2002-01-27 12:00:11 +00:00
|
|
|
c-ppc.texi \
|
1998-09-06 22:57:45 +00:00
|
|
|
c-sh.texi \
|
2002-02-22 04:18:42 +00:00
|
|
|
c-sh64.texi \
|
1998-09-06 22:57:45 +00:00
|
|
|
c-sparc.texi \
|
2001-05-28 05:21:37 +00:00
|
|
|
c-tic54x.texi \
|
1998-09-06 22:57:45 +00:00
|
|
|
c-vax.texi \
|
|
|
|
c-v850.texi \
|
|
|
|
c-z8k.texi
|
|
|
|
|
2000-05-12 23:15:20 +00:00
|
|
|
gasver.texi: Makefile
|
|
|
|
rm -f $@
|
|
|
|
echo '@set VERSION $(VERSION)' > $@
|
|
|
|
|
|
|
|
as.info: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS)
|
|
|
|
as.dvi: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS)
|
1998-09-06 22:57:45 +00:00
|
|
|
|
2002-02-22 04:18:42 +00:00
|
|
|
# We want install to imply install-info as per GNU standards, despite the
|
|
|
|
# cygnus option.
|
|
|
|
install: install-info
|
|
|
|
|
1998-09-06 22:57:45 +00:00
|
|
|
# This one isn't ready for prime time yet. Not even a little bit.
|
|
|
|
|
2002-10-11 06:01:20 +00:00
|
|
|
noinst_TEXINFOS = internals.texi gasp.texi
|
1998-09-06 22:57:45 +00:00
|
|
|
|
|
|
|
DISTCLEANFILES = asconfig.texi
|
2000-05-12 23:15:20 +00:00
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = gasver.texi
|
2002-01-27 12:00:11 +00:00
|
|
|
|
|
|
|
# Maintenance
|
|
|
|
|
|
|
|
# We need it for the taz target in ../../Makefile.in.
|
|
|
|
info: $(MANS)
|
|
|
|
|
|
|
|
# Build the man page from the texinfo file
|
|
|
|
# The sed command removes the no-adjust Nroff command so that
|
|
|
|
# the man output looks standard.
|
|
|
|
as.1: $(srcdir)/as.texinfo
|
|
|
|
touch $@
|
|
|
|
-$(TEXI2POD) $(MANCONF) < $(srcdir)/as.texinfo > as.pod
|
|
|
|
-($(POD2MAN) as.pod | \
|
|
|
|
sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
|
|
mv -f $@.T$$$$ $@) || \
|
|
|
|
(rm -f $@.T$$$$ && exit 1)
|
|
|
|
rm -f as.pod
|