From 254e40294e3ddd463ddd2ba988d9be9744d9c2ea Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 1 Jul 2022 08:46:53 +0100 Subject: [PATCH] doc: add dependency on vars.texi Noticed missing target directory dependency as a build failure in `make --shuffle` mode (added in https://savannah.gnu.org/bugs/index.php?62100): Making all in doc make[1]: Entering directory '/build/heimdal/doc' MAKEINFO hx509.info hx509.texi:15: @include: could not find vars.texi hx509.texi:31: warning: undefined flag: PACKAGE_VERSION hx509.texi:186: warning: undefined flag: PACKAGE_VERSION make[1]: *** [Makefile:622: hx509.info] Error 1 shuffle=1656683556 The change moves vars.texi to BUILT_SOURCES to guarantee it's presence when .info files start the build. --- doc/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/Makefile.am b/doc/Makefile.am index 33053c5b6..aa7f8130f 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -10,6 +10,8 @@ TEXI2DVI = true # ARGH, make distcheck can't be disabled to not build dvifiles info_TEXINFOS = heimdal.texi hx509.texi +BUILT_SOURCES = vars.texi + dxy_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \ -e 's,[@]objdir[@],.,g' \ -e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g' -- 2.11.4.GIT