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:
parent
864e728705
commit
13ee16dedb
@ -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)\"" >> $@
|
||||
|
Loading…
Reference in New Issue
Block a user