gnucash-docs master: Fix Cmake dist tarball creation with autotools-build option.
jralls at code.gnucash.org
Sun Jun 28 19:05:26 EDT 2020
Updated via https://github.com/Gnucash/gnucash-docs/commit/ffd39cd4 (commit)
from https://github.com/Gnucash/gnucash-docs/commit/56086d2e (commit)
Author: John Ralls <jralls at ceridwen.us>
Date: Sun Jun 28 15:56:51 2020 -0700
Fix Cmake dist tarball creation with autotools-build option.
If AUTOTOOLS_IN_DIST was set and the autogen build products (aclocal.m4,
configure, config.guess, etc.) weren't present in CMAKE_SOURCE_ROOT
ninja dist would fail because the dist target was dependent on those
files, even though autogen.sh would create them as part of building the
This was apparently in order to enable building a dist tarball when
autogen.sh wasn't available, but the only reason that might be the case
is if one is starting from a dist tarball. That's silly, so removed
the autogen-built files from dist_files and substituted an error.
Summary of changes:
CMakeLists.txt | 19 +++----------------
1 file changed, 3 insertions(+), 16 deletions(-)
More information about the gnucash-patches