diff --git a/GNUmakefile b/GNUmakefile index 507d02e1..cf2cd7c2 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -498,8 +498,8 @@ dist-checked.tag: $(addprefix dist/, $(DIST_SRC) $(DIST_EXTRA)) @echo -n ' VERIFY amalgamated sources...' $(QUIET)rm -rf $@ \ && if grep -R "define xMDBX_ALLOY" dist | grep -q MDBX_BUILD_SOURCERY; then echo "sed output is WRONG!" >&2; exit 2; fi \ - && rm -rf dist-check && cp -r -p dist dist-check && ($(MAKE) -C dist-check >dist-check/build.log 2>dist-check/build.err || (cat dist-check/build.err && exit 1)) \ - && touch $@ || (echo " FAILED! See dist-check/build.err" >&2; exit 2) && echo " Ok" \ + && rm -rf dist-check && cp -r -p dist dist-check && ($(MAKE) -C dist-check >dist-check.log 2>dist-check.err || (cat dist-check.err && exit 1)) \ + && touch $@ || (echo " FAILED! See dist-check.log and dist-check.err" >&2; exit 2) && echo " Ok" \ && rm dist/@tmp-shared_internals.inc libmdbx-sources-$(MDBX_VERSION_SUFFIX).tar.gz: dist-checked.tag