We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
make dist
1 parent a94e766 commit 8dfe7edCopy full SHA for 8dfe7ed
Makefile.am
@@ -509,10 +509,13 @@ cppcheck:
509
510
dist-hook: $(top_distdir)/configure
511
@if grep 'pkg_m4_absent' '$(top_distdir)/configure'; then \
512
- echo 'configure is generated without pkg.m4. Please supply pkg.m4 and run ./autogen.sh to rebuild the configure script.'>&2; \
+ echo 'ERROR: configure is generated without pkg.m4. Please supply pkg.m4 and run ./autogen.sh to rebuild the configure script.'>&2; \
513
(exit 1); \
514
else :; \
515
fi
516
+ @if grep 'PACKAGE_VERSION.*-g' '$(top_distdir)/configure'; then \
517
+ echo 'WARNING: You are building a dist from a git version. Better run make dist outside of a .git repo on a tagged release.'>&2; \
518
+ fi
519
520
.PHONY: lcov
521
0 commit comments