1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

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
This commit is contained in:
Filipe Brandenburger 2014-06-16 20:54:54 -07:00 committed by Zbigniew Jędrzejewski-Szmek
parent 279419b379
commit 65adc982db

View File

@ -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