From 65adc982db09a144d61551d5acc9340366cc46e2 Mon Sep 17 00:00:00 2001 From: Filipe Brandenburger Date: Mon, 16 Jun 2014 20:54:54 -0700 Subject: [PATCH] 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 --- Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.30.2