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

2014-06-20 Thread Lennart Poettering
On Mon, 16.06.14 20:54, Filipe Brandenburger (filbran...@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
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


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

2014-06-16 Thread Filipe Brandenburger
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

___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel