1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Revert "Added srdir to git version check"

This reverts commit 864e728705.
This commit is contained in:
James Booth 2014-03-08 23:34:18 +00:00
parent 864e728705
commit 13ee16dedb

View File

@ -113,7 +113,7 @@ tests_testsuite_LDADD = -lcmocka
man_MANS = docs/profanity.1
if INCLUDE_GIT_VERSION
$(git_include).in: $(srcdir)/.git/HEAD $(srcdir)/.git/index
$(git_include).in: .git/HEAD .git/index
rm -f $@
echo "#ifndef PROF_GIT_BRANCH" >> $@
echo "#define PROF_GIT_BRANCH \"$(shell git rev-parse --symbolic-full-name --abbrev-ref HEAD)\"" >> $@