Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix make revision on windows and linux

  • Loading branch information...
commit b4992b468dd46780092379490dd1f9d7d9a39831 1 parent 3ea9640
Nicolas Froment authored May 28, 2012

Showing 2 changed files with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 2  Makefile
  2. 2  Makefile.mingw
2  Makefile
@@ -94,7 +94,7 @@ clean:
94 94
 	-rm -rf win32build win32install
95 95
 
96 96
 revision:
97  
-	@svnversion -n  > mscore/mscore/revision.h
  97
+	@git rev-parse --short HEAD > mscore/revision.h
98 98
 
99 99
 version: revision
100 100
 	@echo ${VERSION}
2  Makefile.mingw
@@ -45,7 +45,7 @@ package:
45 45
 	cd win32build & $(MAKE) package
46 46
 
47 47
 revision:
48  
-	FOR /F "tokens=1 delims=M" %%A IN ('svnversion -n') DO echo %%A > mscore/mscore/revision.h
  48
+	git rev-parse --short HEAD > mscore/revision.h
49 49
 
50 50
 version:
51 51
 	@echo ${VERSION}

0 notes on commit b4992b4

Please sign in to comment.
Something went wrong with that request. Please try again.