Permalink
Browse files

Fix make revision on windows and linux

  • Loading branch information...
1 parent 3ea9640 commit b4992b468dd46780092379490dd1f9d7d9a39831 @lasconic lasconic committed May 28, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 Makefile
  2. +1 −1 Makefile.mingw
View
2 Makefile
@@ -94,7 +94,7 @@ clean:
-rm -rf win32build win32install
revision:
- @svnversion -n > mscore/mscore/revision.h
+ @git rev-parse --short HEAD > mscore/revision.h
version: revision
@echo ${VERSION}
View
2 Makefile.mingw
@@ -45,7 +45,7 @@ package:
cd win32build & $(MAKE) package
revision:
- FOR /F "tokens=1 delims=M" %%A IN ('svnversion -n') DO echo %%A > mscore/mscore/revision.h
+ git rev-parse --short HEAD > mscore/revision.h
version:
@echo ${VERSION}

0 comments on commit b4992b4

Please sign in to comment.