From 9d55066c88b4c276a969ea2b86614c7bd034f212 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Coudert Date: Thu, 9 Oct 2014 07:40:39 +0000 Subject: [PATCH] re PR libquadmath/55821 (Release tarballs (unconditionally) install libquadmath.info when libquadmath is not supported) PR libquadmath/55821 * Makefile.am: Conditionally define info_TEXINFOS and libquadmath_TEXINFOS. * Makefile.in: Regenerate. From-SVN: r216027 --- libquadmath/ChangeLog | 7 +++++++ libquadmath/Makefile.am | 6 ++++++ libquadmath/Makefile.in | 8 +++++--- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog index fadafe076da..76bcc8c7690 100644 --- a/libquadmath/ChangeLog +++ b/libquadmath/ChangeLog @@ -1,3 +1,10 @@ +2014-10-09 Francois-Xavier Coudert + + PR libquadmath/55821 + * Makefile.am: Conditionally define info_TEXINFOS and + libquadmath_TEXINFOS. + * Makefile.in: Regenerate. + 2014-10-08 Francois-Xavier Coudert PR libquadmath/63487 diff --git a/libquadmath/Makefile.am b/libquadmath/Makefile.am index 6519731b9b9..dbf6a186f06 100644 --- a/libquadmath/Makefile.am +++ b/libquadmath/Makefile.am @@ -160,8 +160,14 @@ TEXINFO_TEX = ../gcc/doc/include/texinfo.tex # Defines info, dvi, pdf and html targets MAKEINFOFLAGS = -I $(srcdir)/../gcc/doc/include + +if BUILD_LIBQUADMATH info_TEXINFOS = libquadmath.texi libquadmath_TEXINFOS = libquadmath-vers.texi +else +info_TEXINFOS = +libquadmath_TEXINFOS = +endif libquadmath-vers.texi: echo "@set BUGURL $(REPORT_BUGS_TEXI)" > $@ diff --git a/libquadmath/Makefile.in b/libquadmath/Makefile.in index 331780931af..b21b2b71459 100644 --- a/libquadmath/Makefile.in +++ b/libquadmath/Makefile.in @@ -175,7 +175,7 @@ DVIS = libquadmath.dvi PDFS = libquadmath.pdf PSS = libquadmath.ps HTMLS = libquadmath.html -TEXINFOS = libquadmath.texi +TEXINFOS = TEXI2DVI = texi2dvi TEXI2PDF = $(TEXI2DVI) --pdf --batch MAKEINFOHTML = $(MAKEINFO) --html @@ -418,8 +418,10 @@ TEXINFO_TEX = ../gcc/doc/include/texinfo.tex # Defines info, dvi, pdf and html targets MAKEINFOFLAGS = -I $(srcdir)/../gcc/doc/include -info_TEXINFOS = libquadmath.texi -libquadmath_TEXINFOS = libquadmath-vers.texi +@BUILD_LIBQUADMATH_FALSE@info_TEXINFOS = +@BUILD_LIBQUADMATH_TRUE@info_TEXINFOS = libquadmath.texi +@BUILD_LIBQUADMATH_FALSE@libquadmath_TEXINFOS = +@BUILD_LIBQUADMATH_TRUE@libquadmath_TEXINFOS = libquadmath-vers.texi all: config.h $(MAKE) $(AM_MAKEFLAGS) all-am -- 2.30.2