* alpha.c (alpha_Instruction): Don't use.
[deliverable/binutils-gdb.git] / gas / doc / Makefile.in
index 987ff4db2ffa7eb40fc04cc19f99c94d7db5633c..ec5ff26b2ded3309844dc012524bfc08a2c07243 100644 (file)
@@ -121,12 +121,22 @@ AUTOMAKE_OPTIONS = cygnus
 # What version of the manual you want; "all" includes everything
 CONFIG = all
 
+# 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
+
+
 man_MANS = as.1
 
 info_TEXINFOS = as.texinfo gasp.texi
 
 CPU_DOCS = \
        c-a29k.texi \
+       c-arc.texi \
        c-arm.texi \
        c-d10v.texi \
        c-h8300.texi \
@@ -139,9 +149,13 @@ CPU_DOCS = \
        c-m32r.texi \
        c-m68hc11.texi \
        c-m68k.texi \
+       c-m88k.texi \
        c-mips.texi \
+       c-mmix.texi \
        c-ns32k.texi \
+       c-pdp11.texi \
        c-pj.texi \
+       c-ppc.texi \
        c-sh.texi \
        c-sparc.texi \
         c-tic54x.texi \
@@ -174,7 +188,7 @@ DIST_COMMON =  Makefile.am Makefile.in
 
 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
-TAR = gtar
+TAR = tar
 GZIP_ENV = --best
 all: all-redirect
 .SUFFIXES:
@@ -446,6 +460,27 @@ gasver.texi: Makefile
 as.info: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS)
 as.dvi: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS)
 
+# We want install to imply install-info as per GNU standards, despite the
+# cygnus option.
+install: install-info
+
+# 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
+
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
This page took 0.046937 seconds and 4 git commands to generate.