top level:
[deliverable/binutils-gdb.git] / binutils / doc / Makefile.am
index 4080826dd67b65b9e28b9e159570810ebbb960c5..154d0c385d88015d4dbf59152fd0191ef9d85490 100644 (file)
@@ -35,12 +35,13 @@ binutils_TEXINFOS = config.texi
 binutils_TEXI = $(srcdir)/binutils.texi
 
 AM_MAKEINFOFLAGS = -I "$(srcdir)" -I "$(top_srcdir)/../libiberty"
+TEXI2DVI = texi2dvi -I "$(srcdir)" -I "$(top_srcdir)/../libiberty"
 
 config.texi: $(srcdir)/../../bfd/configure $(binutils_TEXI)
        rm -f config.texi
        eval `grep '^ *VERSION=' $(srcdir)/../../bfd/configure`; \
          echo "@set VERSION $$VERSION" > $@
-       echo "@set UPDATED `date "+%B %Y"`" >> config.texi
+       echo "@set UPDATED `date '+%B %Y'`" >> config.texi
 
 # Man page generation from texinfo
 addr2line.1:   $(binutils_TEXI) $(binutils_TEXINFOS)
@@ -179,6 +180,15 @@ install-html-am: $(HTMLS)
          fi; \
        done
 
+MAINTAINERCLEANFILES += binutils.info
+
+# Automake 1.9 will only build info files in the objdir if they are
+# mentioned in DISTCLEANFILES.  It doesn't have to be unconditional,
+# though, so we use a bogus condition.
+if GENINSRC_NEVER
+DISTCLEANFILES = binutils.info
+endif
+
 # Maintenance
 
 # We need it for the taz target in ../../Makefile.in.
This page took 0.024688 seconds and 4 git commands to generate.