ubuntuusers.de

version_tag.patch

Autor:
Quidoff
Datum:
8. Mai 2016 16:51
Code:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Set the correct version.
Index: openra-20160508/Makefile
===================================================================
--- openra-20160508.orig/Makefile	2016-05-08 16:40:05.638662479 +0200
+++ openra-20160508/Makefile	2016-05-08 16:42:20.053230729 +0200
@@ -89,7 +89,7 @@
 # program targets
 CORE = pdefault game utility server
 TOOLS = gamemonitor
-VERSION     = $(shell git name-rev --name-only --tags --no-undefined HEAD 2>/dev/null || echo git-`git rev-parse --short HEAD`)
+VERSION     = release-20160508
 
 # dependencies
 UNAME_S := $(shell uname -s)
@@ -316,7 +316,7 @@
 
 ########################## MAKE/INSTALL RULES ##########################
 #
-default: core
+default: core version
 
 core: game platforms mods utility server