From: Filipe Brandenburger Date: Tue, 17 Jun 2014 03:54:54 +0000 (-0700) Subject: build-sys: check that compat-libs are enabled for "make dist" X-Git-Tag: v215~242 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=65adc982db09a144d61551d5acc9340366cc46e2 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 --- diff --git a/Makefile.am b/Makefile.am index 965985613..b48b122f3 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