summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am14
1 files changed, 4 insertions, 10 deletions
diff --git a/Makefile.am b/Makefile.am
index 627538d23c..61b18b3273 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -320,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)