chiark / gitweb /
build-sys: remove vala generated sources only when valac is around
authorLennart Poettering <lennart@poettering.net>
Mon, 17 May 2010 22:28:39 +0000 (00:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 17 May 2010 22:28:39 +0000 (00:28 +0200)
Makefile.am
README
configure.ac

index 65ab1339a7dde132a5aef3b2ba649088b89dd7cd..e6366dd0049ba3876bd420ba7c154ebcdcc18bae 100644 (file)
@@ -335,9 +335,6 @@ units/session/%: units/%.m4 Makefile
        $(M4_PROCESS_SESSION)
 
 CLEANFILES = \
-       src/systemd-interfaces.c \
-       src/systemctl.c \
-       src/systemadm.c \
        units/systemd-initctl.service \
        units/systemd-logger.service \
        units/syslog.target \
@@ -350,6 +347,13 @@ CLEANFILES = \
        man/systemd.special.7 \
        man/systemd.special.html
 
+if HAVE_VALAC
+CLEANFILES += \
+       src/systemd-interfaces.c \
+       src/systemctl.c \
+       src/systemadm.c
+endif
+
 if HAVE_XSLTPROC
 XSLTPROC_PROCESS_MAN = \
        $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
diff --git a/README b/README
index 57373c3c713de407ab9040b877072803db880ea8..492e37454c979404febab96a1a024f0c85b4cccd 100644 (file)
--- a/README
+++ b/README
@@ -27,7 +27,7 @@ AUTHOR:
         Lennart Poettering with major support from Kay Sievers
 
 REQUIREMENTS:
-        Linux kernel >= 2.6.30 (with autofs4, devtmpfs and the debug cgroup controller)
+        Linux kernel >= 2.6.30 (with autofs4, devtmpfs, cgroups)
         libudev >= 151
         libcgroup >= 0.35
         vala >= 0.80
index 20024e68a4953beece9ec6c4d9d5db796a7939b8..5e505365d3b8f8bbee8ae31f3897892d1fdbcbc1 100644 (file)
@@ -123,6 +123,7 @@ AM_CONDITIONAL(HAVE_GTK, [test "$have_gtk" = "yes"])
 
 AM_PROG_VALAC([0.8])
 AC_SUBST(VAPIDIR)
+AM_CONDITIONAL(HAVE_VALAC, test x"$VALAC" != x)
 
 AC_PATH_PROG([XSLTPROC], [xsltproc])
 AM_CONDITIONAL(HAVE_XSLTPROC, test x"$XSLTPROC" != x)