diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 65ab1339a7..e6366dd004 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 $@) && \ |