chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build-sys: remove vala generated sources only when valac is around
[elogind.git]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index 65ab1339a7dde132a5aef3b2ba649088b89dd7cd..e6366dd0049ba3876bd420ba7c154ebcdcc18bae 100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-335,9
+335,6
@@
units/session/%: units/%.m4 Makefile
$(M4_PROCESS_SESSION)
CLEANFILES = \
$(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 \
units/systemd-initctl.service \
units/systemd-logger.service \
units/syslog.target \
@@
-350,6
+347,13
@@
CLEANFILES = \
man/systemd.special.7 \
man/systemd.special.html
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 $@) && \
if HAVE_XSLTPROC
XSLTPROC_PROCESS_MAN = \
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \