Skip to content

Commit

Permalink
Makefile/main: display git-revision and hardcoded BLAME-tag inside XeLL
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxuser authored and tuxuser committed Feb 19, 2012
1 parent 9d03a22 commit 3d189f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile_lv2.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ SOURCES := source/lv2 source/lv2/crypt source/lv2/xb360 source/lv2/tftp source/
DATA := data
INCLUDES := source/lv2

RELEASE=0.99
RELEASE=0.991

#---------------------------------------------------------------------------------
# options for code generation
Expand Down Expand Up @@ -129,10 +129,10 @@ endif
@echo '/* AUTO GENERATED BY make. DO NOT EDIT! */' > $@
@echo '' >> $@
@echo '#define RELEASE "$(RELEASE)"' >> $@
@echo '#define BLAME "'$(shell id -u -n)'@'$(shell uname -n -m)'"' >> $@
@echo '#define BLAME "LibXenon.org"' >> $@
@date +'#define DATE "%F"' >> $@
# @echo '#define GITREV "'$(shell git log --format="%h" HEAD^..HEAD)'"' >> $@
@echo '#define GITREV ""' >> $@
@echo '#define GITREV "'$(shell git log --format="%h" HEAD^..HEAD)'"' >> $@
# @echo '#define GITREV ""' >> $@
@echo '' >> $@
@echo '#define VERSION RELEASE "-git-" GITREV' >> $@
@echo '#define LONGVERSION VERSION " " DATE " (" BLAME ")"' >> $@
Expand Down

0 comments on commit 3d189f9

Please sign in to comment.