[systemd-devel] [PATCH 9/9] build-sys: check that compat-libs are enabled for "make dist"
Filipe Brandenburger
filbranden at google.com
Mon Jun 16 20:54:54 PDT 2014
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 87154d9f1baf..bf4840a01736 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5310,7 +5310,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
--
1.9.3
More information about the systemd-devel
mailing list