mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-11-16 17:59:19 +01:00
Add git revision to version
This commit is contained in:
parent
2d970d66e4
commit
98d96f9c1c
5
Makefile
5
Makefile
@ -1,7 +1,12 @@
|
|||||||
.PHONY: all 3dsx cia clean linux
|
.PHONY: all 3dsx cia clean linux
|
||||||
|
|
||||||
|
export GITREV := $(shell git rev-parse HEAD 2>/dev/null | cut -c1-8)
|
||||||
export VERSION := 2.2
|
export VERSION := 2.2
|
||||||
|
|
||||||
|
ifneq ($(strip $(GITREV)),)
|
||||||
|
export VERSION := $(VERSION)-$(GITREV)
|
||||||
|
endif
|
||||||
|
|
||||||
all: 3dsx
|
all: 3dsx
|
||||||
|
|
||||||
3dsx:
|
3dsx:
|
||||||
|
Loading…
Reference in New Issue
Block a user