[systemd-devel] [PATCH 9/9] build-sys: check that compat-libs are enabled for "make dist"

Lennart Poettering lennart at poettering.net
Fri Jun 20 05:43:30 PDT 2014


On Mon, 16.06.14 20:54, Filipe Brandenburger (filbranden at google.com) wrote:

> Running "make dist" requires --enable-compat-libs since DIST_SOURCES will list
> generated files such as libsystemd-daemon.c.

This one doesn't apply without the Python stuff.

Zbigniew could you have a look at the Python stuff please? And if all
looks could, please also apply this patch!

Thanks!

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


Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list