forked from cory/tildefriends
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:
parent
bf340f3de4
commit
ab3009f771
3
Makefile
3
Makefile
@ -634,7 +634,8 @@ $(foreach build_type,$(BUILD_TYPES),$(eval $(call build_rules,$(build_type))))
|
|||||||
|
|
||||||
src/version.h : $(firstword $(MAKEFILE_LIST))
|
src/version.h : $(firstword $(MAKEFILE_LIST))
|
||||||
@echo [version] $@
|
@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))
|
src/android/AndroidManifest.xml : $(firstword $(MAKEFILE_LIST))
|
||||||
@echo [android_version] $@
|
@echo [android_version] $@
|
||||||
|
@ -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."
|
#define VERSION_NAME "Where everybody knows your name."
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user