Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

revision from git. new major version is 1.0

  • Loading branch information...
commit c25eb749b17df3fd9b7a5752a6895c5d148d11db 1 parent a8dec91
@dividuum authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 Makefile
View
4 Makefile
@@ -1,5 +1,7 @@
all: targets
+MAJOR_VERSION = 1.0
+
ifndef REVISION
-include REVISION
endif
@@ -233,7 +235,7 @@ $(LUA)/src/liblua.a:
$(CXX) $(CPPFLAGS) $^ -c -o $@
REVISION:
- echo "REVISION=`svnversion .`" > $@
+ echo "REVISION=$(MAJOR_VERSION)-`git rev-parse --short=6 HEAD`" > $@
clean:
-rm -f *.o *.so *.dll infond infond-static infon infon.exe infon*.res infond.exe infond.exe-static tags
Please sign in to comment.
Something went wrong with that request. Please try again.