mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Force git revision update on make
This commit is contained in:
parent
6b852a2f0f
commit
a15dbdf7ff
@ -1,5 +1,8 @@
|
|||||||
if INCLUDE_GIT_VERSION
|
if INCLUDE_GIT_VERSION
|
||||||
src/gitversion.c: .git/HEAD .git/index
|
|
||||||
|
FORCE:
|
||||||
|
|
||||||
|
src/gitversion.c: .git/HEAD .git/index FORCE
|
||||||
rm -f src/gitversion.c src/gitversion.o
|
rm -f src/gitversion.c src/gitversion.o
|
||||||
echo "#ifndef PROF_GIT_BRANCH" >> $@
|
echo "#ifndef PROF_GIT_BRANCH" >> $@
|
||||||
echo "#define PROF_GIT_BRANCH \"$(shell git rev-parse --symbolic-full-name --abbrev-ref HEAD)\"" >> $@
|
echo "#define PROF_GIT_BRANCH \"$(shell git rev-parse --symbolic-full-name --abbrev-ref HEAD)\"" >> $@
|
||||||
|
Loading…
Reference in New Issue
Block a user