Remove auot generated man pages
[deliverable/binutils-gdb.git] / gas / doc / Makefile.in
index 674e17fc03a42ba48ca9e9bb5c37a901234f38ee..90ebe51e78bf59f4f8dde27d8b43cc6929187fb2 100644 (file)
@@ -183,7 +183,7 @@ DIST_COMMON =  Makefile.am Makefile.in
 
 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
-TAR = tar
+TAR = gtar
 GZIP_ENV = --best
 all: all-redirect
 .SUFFIXES:
@@ -457,16 +457,20 @@ as.dvi: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS)
 
 # 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.
-$(srcdir)/as.1: $(srcdir)/as.texinfo
-       touch $(srcdir)/as.1
+as.1: $(srcdir)/as.texinfo
+       touch $@
        -$(TEXI2POD) $(MANCONF) < $(srcdir)/as.texinfo > as.pod
        -($(POD2MAN) as.pod | \
-               sed -e '/^.if n .na/d' > $(srcdir)/as.1.T$$$$ && \
-               mv -f $(srcdir)/as.1.T$$$$ $(srcdir)/as.1) || \
-               (rm -f $(srcdir)/as.1.T$$$$ && exit 1)
+               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.
This page took 0.038294 seconds and 4 git commands to generate.