Fixed GitVersion.h not created on first build

pull/2/head
Geoffrey Merck 6 years ago
parent 4b7e16803c
commit 70ae0b9ce5

@ -57,6 +57,7 @@ removehostfiles :
/bin/rm -f $(CFGDIR)/DExtra_Hosts.txt
/bin/rm -f $(CFGDIR)/DCS_Hosts.txt
.PHONY: GitVersion.h
GitVersion.h: force
ifneq ("$(wildcard .git/index)","")
echo "const char *gitversion = \"$(shell git rev-parse HEAD)\";" > $@
@ -65,5 +66,4 @@ else
endif
.PHONY: force
force:
@true
force:
Loading…
Cancel
Save

Powered by TurnKey Linux.