X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2FMakefile.am;h=0536dcdf00e328a1f83433df310e7a37c888c622;hb=1e19c0f692117a7e1d2f00b2c434d7bd68485575;hp=b67d262bc7918b608c1003c063f737e9592490b9;hpb=351e30315a400ad45812afa7567719eef37139ff;p=lttng-tools.git diff --git a/include/Makefile.am b/include/Makefile.am index b67d262bc..0536dcdf0 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -45,7 +45,7 @@ version.h: old_version=$$($(GREP) "$${version_match}" "$${version_h}"); \ new_version="#define GIT_VERSION \"$${git_version}\""; \ if [ x"$${old_version}" != x"$${new_version}" ]; then \ - $(SED) -i "s'$${version_match}'$${new_version}'" "$${version_h}"; \ + $(SED) -i -e "s'$${version_match}'$${new_version}'" "$${version_h}"; \ else \ echo $(ECHO_N) " (cached)$(ECHO_C)"; \ fi; \ @@ -59,6 +59,8 @@ version.h: ## .PHONY: version.h +CLEANFILES = version.h + nodist_noinst_HEADERS = \ version.h