diff options
author | Filipe Brandenburger <filbranden@google.com> | 2014-06-16 20:54:54 -0700 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-06-20 18:44:40 -0400 |
commit | 65adc982db09a144d61551d5acc9340366cc46e2 (patch) | |
tree | 87dfcdff116ab99e17feeb6f5bca4828b68e9178 /Makefile.am | |
parent | 279419b37976ea24be5e57ebddba3ea0335e16b4 (diff) |
build-sys: check that compat-libs are enabled for "make dist"
Running "make dist" requires --enable-compat-libs since DIST_SOURCES will list
generated files such as libsystemd-daemon.c.
Tested:
$ ./configure && make && make dist
*** compat-libs must be enabled in order to make dist
make: *** [dist-check-compat-libs] Error 1
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 9659856136..b48b122f35 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5379,7 +5379,13 @@ if !HAVE_PYTHON @false endif -dist: dist-check-python +dist-check-compat-libs: +if !ENABLE_COMPAT_LIBS + @echo "*** compat-libs must be enabled in order to make dist" + @false +endif + +dist: dist-check-python dist-check-compat-libs # check "broken" platforms limited toolchains for link breakage before we release .PHONY: linkcheck |