X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2FMakefile.am;h=fd9d8d02391a8db0232b9ac0c842791fdca76df9;hp=a30002e29253a084e313719c244189518e30b74e;hb=18ecc6aedf929c6aeba25aa1f1c06d246f349c2b;hpb=f19ca95ed68f6e3eff925676bc1d9bc8939c3ef2 diff --git a/include/Makefile.am b/include/Makefile.am index a30002e29..fd9d8d023 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -42,10 +42,10 @@ version.h: ## want to update the file if it is already up to date. ## version_match='^#define GIT_VERSION.*'; \ - old_version=$$(grep "$${version_match}" "$${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 "s'$${version_match}'$${new_version}'" "$${version_h}"; \ else \ echo -n " (cached)"; \ fi; \