aboutsummaryrefslogtreecommitdiffstats
path: root/src/native
diff options
context:
space:
mode:
authorIngo Bauersachs <ingo@jitsi.org>2015-02-04 22:19:10 +0100
committerIngo Bauersachs <ingo@jitsi.org>2015-02-04 22:45:49 +0100
commitac28b5888a8d59794569be8c8cb7db2e929cab7c (patch)
treec91b2fd84f438fef093b55352d4627ac240c0696 /src/native
parent8a8aba36888027ea454a10dfe00b660eaf5f65bf (diff)
downloadjitsi-ac28b5888a8d59794569be8c8cb7db2e929cab7c.zip
jitsi-ac28b5888a8d59794569be8c8cb7db2e929cab7c.tar.gz
jitsi-ac28b5888a8d59794569be8c8cb7db2e929cab7c.tar.bz2
Properly set the file version attribute for jitsi.exe
Diffstat (limited to 'src/native')
-rw-r--r--src/native/windows/run/Makefile3
-rw-r--r--src/native/windows/run/run.rc2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/native/windows/run/Makefile b/src/native/windows/run/Makefile
index 609fa1e..8eee2d8 100644
--- a/src/native/windows/run/Makefile
+++ b/src/native/windows/run/Makefile
@@ -9,6 +9,7 @@ MINGW_HOME ?= C:/mingw
PRODUCTNAME ?= Jitsi
COMPANYNAME ?= jitsi.org
PRODUCTBUILDVERSION ?= 1.0.0.0
+PRODUCTBUILDVERSION_COMMA ?= 1,0,0,0
TARGET_BASENAME ?= run
TARGET_DIR ?= ../../../../release/windows/tmp
@@ -47,7 +48,7 @@ $(cygwin.target.dir)/$(TARGET_BASENAME).exe: $(cygwin.target.dir)/config.h regis
$(cygwin.target.dir)/config.h:
-rm.exe -f ../../../../resources/install/windows/config.h
- echo.exe -e '#define PRODUCTNAME "$(PRODUCTNAME)"\n#define COMPANYNAME "$(COMPANYNAME)"\n#define PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)"\n#define TARGET_BASENAME "$(TARGET_BASENAME)"\n#define TARGET_BASENAME_EXE "$(TARGET_BASENAME).exe"' > $(cygwin.target.dir)/config.h
+ echo.exe -e '#define PRODUCTNAME "$(PRODUCTNAME)"\n#define COMPANYNAME "$(COMPANYNAME)"\n#define PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)"\n#define PRODUCTBUILDVERSION_COMMA $(PRODUCTBUILDVERSION_COMMA)\n#define TARGET_BASENAME "$(TARGET_BASENAME)"\n#define TARGET_BASENAME_EXE "$(TARGET_BASENAME).exe"' > $(cygwin.target.dir)/config.h
$(cygwin.target.dir)/run.res: $(cygwin.target.dir)/config.h run.rc
$(WINDRES) -I../../../../resources/install/windows -I$(target.dir) run.rc -O coff -o $(target.dir)/run.res
diff --git a/src/native/windows/run/run.rc b/src/native/windows/run/run.rc
index bc2a5a2..11ff378 100644
--- a/src/native/windows/run/run.rc
+++ b/src/native/windows/run/run.rc
@@ -21,7 +21,7 @@ BEGIN
END
1 VERSIONINFO
- FILEVERSION 0,0,0,0
+ FILEVERSION PRODUCTBUILDVERSION_COMMA
FILETYPE VFT_APP
PRODUCTVERSION 0,0,0,0
BEGIN