X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2FMakefile.am;h=767b05b5d99ff38128713925a7dbd71e12579bd7;hp=d2061f1e05ea75bb7db8fd542dc683d19253bdca;hb=ed343076683ad0b7b7aaa557e30f97429efb82f3;hpb=ceb6ba5100c73f6a2b39475c89f3317d64fc9b48 diff --git a/include/Makefile.am b/include/Makefile.am index d2061f1e0..767b05b5d 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -21,8 +21,7 @@ version.h: git_version=""; \ else \ git_describe="$$(git describe)"; \ - if [ "$${git_branch}" == "$${git_describe}" ] || \ - [ "$${git_branch}" == "heads/master" ]; then \ + if [ "$${git_branch}" == "$${git_describe}" ]; then \ git_version="$${git_describe}"; \ else \ git_version="$$(git describe --long --all)"; \