mirror of
https://github.com/munin-monitoring/muninlite.git
synced 2024-12-22 13:52:13 +01:00
Makefile: use proper indentation for assembling command
This commit is contained in:
parent
160a767791
commit
936ac8199c
1 changed files with 11 additions and 11 deletions
22
Makefile
22
Makefile
|
@ -14,17 +14,17 @@ $(TARGET_FILE): $(INPUT_FILE) $(PLUGIN_FILES) $(CONFIGURATION_FILE)
|
||||||
@for plugin_filename in $(PLUGIN_FILES); do \
|
@for plugin_filename in $(PLUGIN_FILES); do \
|
||||||
echo "Adding plugin $$(basename "$$plugin_filename")"; done
|
echo "Adding plugin $$(basename "$$plugin_filename")"; done
|
||||||
@export VERSION="$(VERSION)"; \
|
@export VERSION="$(VERSION)"; \
|
||||||
export CONF=$$(grep -v '^#' "$(CONFIGURATION_FILE)"); \
|
export "PLUGINS=$(PLUGINS)"; \
|
||||||
export "PLUGINS=$(PLUGINS)"; \
|
export CONF=$$(grep -v '^#' "$(CONFIGURATION_FILE)"); \
|
||||||
export PLSTR="$$(grep -vh '^#' $(PLUGIN_FILES))"; \
|
export PLSTR="$$(grep -vh '^#' $(PLUGIN_FILES))"; \
|
||||||
perl -p -e '\
|
perl -p -e '\
|
||||||
s/\@\@VERSION\@\@/$$ENV{"VERSION"}/; \
|
s/\@\@VERSION\@\@/$$ENV{"VERSION"}/; \
|
||||||
s/\@\@CONF\@\@/$$ENV{"CONF"}/; \
|
s/\@\@CONF\@\@/$$ENV{"CONF"}/; \
|
||||||
s/\@\@PLUGINS\@\@/$$ENV{"PLUGINS"}/; \
|
s/\@\@PLUGINS\@\@/$$ENV{"PLUGINS"}/; \
|
||||||
s/\@\@PLSTR\@\@/$$ENV{"PLSTR"}/;' \
|
s/\@\@PLSTR\@\@/$$ENV{"PLSTR"}/;' \
|
||||||
"$(INPUT_FILE)" >"$(TARGET_FILE).tmp"
|
"$(INPUT_FILE)" >"$(TARGET_FILE).tmp"
|
||||||
@chmod +x "$(TARGET_FILE).tmp"
|
@chmod +x "$(TARGET_FILE).tmp"
|
||||||
@mv "$(TARGET_FILE).tmp" "$(TARGET_FILE)"
|
@mv "$(TARGET_FILE).tmp" "$(TARGET_FILE)"
|
||||||
|
|
||||||
.PHONY: help
|
.PHONY: help
|
||||||
help:
|
help:
|
||||||
|
|
Loading…
Reference in a new issue