mirror of
https://github.com/munin-monitoring/muninlite.git
synced 2024-12-22 13:52:13 +01:00
Makefile: skip comments with leading whitespace
This commit is contained in:
parent
e3103bdb6e
commit
a4bb625812
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -17,7 +17,7 @@ $(TARGET_FILE): $(INPUT_FILE) $(PLUGIN_FILES) $(CONFIGURATION_FILE)
|
|||
@export VERSION="$(VERSION)"; \
|
||||
export "PLUGINS=$(PLUGINS)"; \
|
||||
export CONF=$$(grep -v '^#' "$(CONFIGURATION_FILE)"); \
|
||||
export PLSTR="$$(grep -vh '^#' $(PLUGIN_FILES))"; \
|
||||
export PLSTR="$$(grep -vh '^[ \t]*#' $(PLUGIN_FILES))"; \
|
||||
perl -p -e '\
|
||||
s/\@\@VERSION\@\@/$$ENV{"VERSION"}/; \
|
||||
s/\@\@CONF\@\@/$$ENV{"CONF"}/; \
|
||||
|
|
Loading…
Reference in a new issue