gnucash-docs master: Fix Cmake dist tarball creation with autotools-build option.
John Ralls
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)
commit ffd39cd493532619d15b15c52d4db71e0b214048
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
tarballs.
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
mailing list