diff --git a/Makefile b/Makefile index 293665023..76266886b 100644 --- a/Makefile +++ b/Makefile @@ -51,11 +51,12 @@ doc: .PHONY: install install: $(BUILD_SCRIPT) - "$(BUILD_SCRIPT)" install --destdir="$(DESTDIR)" --verbose @# various directory placeholders (e.g. "@@SPOOLDIR@@") need to be replaced - grep -rl --null "@@" "$(or $(DESTDIR),.)" | xargs -0 sed -i \ + grep -Irl --null "@@" blib | xargs -0 sed -i \ -e "$$(perl -I lib -M"Munin::Common::Defaults" \ - -e "Munin::Common::Defaults->print_as_sed_substitutions();")" + -e "Munin::Common::Defaults->print_as_sed_substitutions();")" + "$(BUILD_SCRIPT)" install --destdir="$(DESTDIR)" --verbose + .PHONY: apply-formatting apply-formatting: