mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Added srdir to git version check
This commit is contained in:
parent
2c976d3523
commit
864e728705
@ -113,7 +113,7 @@ tests_testsuite_LDADD = -lcmocka
|
||||
man_MANS = docs/profanity.1
|
||||
|
||||
if INCLUDE_GIT_VERSION
|
||||
$(git_include).in: .git/HEAD .git/index
|
||||
$(git_include).in: $(srcdir)/.git/HEAD $(srcdir)/.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