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

Signed-off-by: Karel Zak <[email protected]>
---
 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

_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to