summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-02-09 10:28:37 -0500
committerLennart Poettering <lennart@poettering.net>2017-02-09 16:28:37 +0100
commit9c0f732c62b18304973f1ede23d4a48191f5db43 (patch)
tree1b676ebeb92c135643309718f40dcc653bc395b9 /Makefile.am
parent1d450bda706abedb6724cc2c0f834ebc1686309f (diff)
Introduce '## ' as internal comment prefix in .in files and filter out a comment (#5289)
Sometimes we have comments which don't make sense outside of the systemd codebase, so let's filter them out from the user-visible files. Fixes #5286.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 9a435e3a66..2d913bd7d7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6244,6 +6244,7 @@ substitutions = \
SED_PROCESS = \
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
$(SED) $(subst '|,-e 's|@,$(subst =,\@|,$(subst |',|g',$(substitutions)))) \
+ -e '/^\#\# /d' \
< $< > $@
units/%: units/%.in