[systemd-devel] [PATCH] build-sys: use properly HAVE_VALAC

Karel Zak kzak at redhat.com
Wed Jun 2 14:54:57 PDT 2010


 $ make
 [...]
 VALAC  systemctl_vala.stamp
 /bin/sh: -g: command not found

Signed-off-by: Karel Zak <kzak at redhat.com>
---
 Makefile.am |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 2ab7995..67057d9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -45,13 +45,18 @@ AM_CPPFLAGS = \
 	-I $(top_srcdir)/src
 
 rootbin_PROGRAMS = \
-	systemd \
-	systemctl
+	systemd
+
+bin_PROGRAMS =
 
+if HAVE_VALAC
+rootbin_PROGRAMS += \
+	systemctl
 if HAVE_GTK
-bin_PROGRAMS = \
+bin_PROGRAMS += \
 	systemadm
 endif
+endif
 
 rootlibexec_PROGRAMS = \
 	systemd-logger \
-- 
1.6.6.1



More information about the systemd-devel mailing list