From: Bruno Haible Date: Sun, 6 Oct 2019 12:54:30 +0000 (+0200) Subject: build: Fix failure to build the doc in a VPATH build. X-Git-Tag: v0.20.2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a799ac155cfb5ef5ad5cf4bfbfdb7244406a304;p=thirdparty%2Fgettext.git build: Fix failure to build the doc in a VPATH build. * gettext-tools/doc/Makefile.am ($(srcdir)/stamp-vti): Create version.texi in the source directory. --- diff --git a/gettext-tools/doc/Makefile.am b/gettext-tools/doc/Makefile.am index 51ea2bc99..05dd9919e 100644 --- a/gettext-tools/doc/Makefile.am +++ b/gettext-tools/doc/Makefile.am @@ -85,11 +85,11 @@ $(srcdir)/stamp-vti: $(info_TEXINFOS) $(gettext_TEXINFOS) $(top_srcdir)/../.vers echo "@set EDITION $(VERSION)"; \ echo "@set VERSION $(VERSION)"; \ echo "@set ARCHIVE-VERSION $(ARCHIVE_VERSION)") > vti.tmp - cmp -s vti.tmp version.texi \ - || (echo "Updating version.texi"; \ - cp vti.tmp version.texi) + cmp -s vti.tmp $(srcdir)/version.texi \ + || (echo "Updating $(srcdir)/version.texi"; \ + cp vti.tmp $(srcdir)/version.texi) rm -f vti.tmp - cp version.texi $@ + cp $(srcdir)/version.texi $@ # We distribute only the split HTML documentation. # The user can generate the others, via