From: Ondřej Surý Date: Wed, 26 Oct 2016 10:05:21 +0000 (+0200) Subject: Improve version.mk a bit to use $(call quiet,,) X-Git-Tag: v1.2.0-rc1~90^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8835a56eee9489f4882d9e9235b7e42e415b5020;p=thirdparty%2Fknot-resolver.git Improve version.mk a bit to use $(call quiet,,) --- diff --git a/modules/version/version.mk b/modules/version/version.mk index 624c7c027..41d323470 100644 --- a/modules/version/version.mk +++ b/modules/version/version.mk @@ -1,6 +1,11 @@ version_SOURCES := version.lua modules/version/version.lua: modules/version/version.lua.in - $(SED) -e "s/@VERSION@/$(VERSION)/" < "$<" > "$@" + @$(call quiet,SED,$<) -e "s/@VERSION@/$(VERSION)/" $< > $@ $(call make_lua_module,version) + +version-clean: + @$(call quiet,RM,modules/version/version.lua) modules/version/version.lua + +.PHONY: version-clean