This seems to be a safer way to generate version.h.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4586 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2023-10-26 03:03:25 +00:00
parent bf340f3de4
commit ab3009f771
2 changed files with 3 additions and 3 deletions

View File

@ -634,7 +634,8 @@ $(foreach build_type,$(BUILD_TYPES),$(eval $(call build_rules,$(build_type))))
src/version.h : $(firstword $(MAKEFILE_LIST))
@echo [version] $@
@echo -e "#define VERSION_NUMBER \"$(VERSION_NUMBER)\"\n#define VERSION_NAME \"$(VERSION_NAME)\"\n" > $@
@echo "#define VERSION_NUMBER \"$(VERSION_NUMBER)\"" > $@
@echo "#define VERSION_NAME \"$(VERSION_NAME)\"" >> $@
src/android/AndroidManifest.xml : $(firstword $(MAKEFILE_LIST))
@echo [android_version] $@

View File

@ -1,3 +1,2 @@
#define VERSION_NUMBER "0.0.12"
#define VERSION_NUMBER "0.0.13-wip"
#define VERSION_NAME "Where everybody knows your name."