chiark / gitweb /
build-sys: make xsltproc/sed invocations silent
[elogind.git] / Makefile.am
index 3b54699afd1d46c4975951745ea7c66d5f401841..77274891da86cda5d98d61f8992bc7c2a17085f7 100644 (file)
@@ -101,6 +101,7 @@ EXTRA_DIST = \
        units/getty@.service.m4 \
        units/graphical.target.m4 \
        units/multi-user.target.m4 \
+       units/remote-fs.target.m4 \
        units/systemd-initctl.service.in \
        units/systemd-logger.service.in \
        units/syslog.target.in \
@@ -304,7 +305,7 @@ systemadm_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS) $(VALA_CFLA
 systemadm_LDADD = $(DBUSGLIB_LIBS) $(GTK_LIBS)
 
 SED_PROCESS = \
-       $(MKDIR_P) units && \
+       $(AM_V_GEN)$(MKDIR_P) units && \
        $(SED)  -e 's,@libexecdir\@,$(libexecdir),g' \
                -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
                -e 's,@SPECIAL_SYSLOG_SERVICE\@,$(SPECIAL_SYSLOG_SERVICE),g' \
@@ -319,19 +320,13 @@ units/systemd-logger.service: units/systemd-logger.service.in Makefile
 units/syslog.target: units/syslog.target.in Makefile
        $(SED_PROCESS)
 
-M4_FLAGS =
-
-if TARGET_FEDORA
-M4_FLAGS += -DTARGET_FEDORA=1
-endif
-
 M4_PROCESS_SYSTEM = \
-       $(MKDIR_P) units && \
-       $(M4) -P $(M4_FLAGS) -DFOR_SYSTEM < $< > $@
+       $(AM_V_GEN)$(MKDIR_P) units && \
+       $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM < $< > $@
 
 M4_PROCESS_SESSION = \
-       $(MKDIR_P) units/session && \
-       $(M4) -P $(M4_FLAGS) -DFOR_SESSION < $< > $@
+       $(AM_V_GEN)$(MKDIR_P) units/session && \
+       $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SESSION < $< > $@
 
 units/basic.target: units/basic.target.m4 Makefile
        $(M4_PROCESS_SYSTEM)
@@ -361,15 +356,17 @@ CLEANFILES = \
        units/basic.target \
        units/getty@.service \
        units/graphical.target \
-       units/multi-user.target
+       units/multi-user.target \
+       units/remote-fs.target \
+       units/session/remote-fs.target
 
 if HAVE_XSLTPROC
 man/%.5 man/%.7: man/%.xml
-       $(MKDIR_P) man
+       $(AM_V_GEN)$(MKDIR_P) man && \
        $(XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
 
 man/%.html: man/%.xml
-       $(MKDIR_P) man
+       $(AM_V_GEN)$(MKDIR_P) man && \
        $(XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
 
 CLEANFILES += \