[chocolate-doom] 04/29: Generate chocolate-doom-res.rc with version and product info
Jonathan Dowland
jmtd at moszumanska.debian.org
Mon Jan 30 15:06:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
jmtd pushed a commit to annotated tag chocolate-doom-0.0.4
in repository chocolate-doom.
commit 53a7ee34035f3d6cf151c87f54f1bf15f04a2460
Author: Simon Howard <fraggle at gmail.com>
Date: Tue Sep 20 21:20:16 2005 +0000
Generate chocolate-doom-res.rc with version and product info
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 118
---
configure.in | 5 ++++-
src/chocolate-doom-res.rc.in | 22 ++++++++++++++++++++++
2 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/configure.in b/configure.in
index d825fd3..0f81ef4 100644
--- a/configure.in
+++ b/configure.in
@@ -10,7 +10,6 @@ then
CFLAGS="-O3 $orig_CFLAGS"
fi
-
AM_PATH_SDL(1.1.3)
# Always build a console mode app
@@ -32,8 +31,11 @@ AM_CONDITIONAL(HAVE_WINDRES, which windres > /dev/null)
AM_INIT_AUTOMAKE(AC_PACKAGE_TARNAME,AC_PACKAGE_VERSION)
+WINDOWS_RC_VERSION=`echo $PACKAGE_VERSION.0 | sed 's/\./, /g' `
+
AM_CONFIG_HEADER(config.h:config.hin)
+AC_SUBST(WINDOWS_RC_VERSION)
AC_SUBST(SDLMIXER_CFLAGS)
AC_SUBST(SDLMIXER_LIBS)
@@ -45,5 +47,6 @@ AC_SUBST(ac_aux_dir)
AC_OUTPUT([
Makefile
src/Makefile
+src/chocolate-doom-res.rc
])
diff --git a/src/chocolate-doom-res.rc.in b/src/chocolate-doom-res.rc.in
new file mode 100644
index 0000000..a663593
--- /dev/null
+++ b/src/chocolate-doom-res.rc.in
@@ -0,0 +1,22 @@
+1 ICON "..\\data\\chocolate-doom.ico"
+
+1 VERSIONINFO
+PRODUCTVERSION @WINDOWS_RC_VERSION@
+FILEVERSION @WINDOWS_RC_VERSION@
+FILETYPE 1
+{
+ BLOCK "StringFileInfo"
+ {
+ BLOCK "040904E4"
+ {
+ VALUE "FileVersion", "@PACKAGE_VERSION@"
+ VALUE "FileDescription", "@PACKAGE_STRING@"
+ VALUE "InternalName", "@PACKAGE_TARNAME@"
+ VALUE "CompanyName", "@PACKAGE_BUGREPORT@"
+ VALUE "LegalCopyright", "GNU General Public License"
+ VALUE "ProductName", "@PACKAGE_NAME@"
+ VALUE "ProductVersion", "@PACKAGE_VERSION@"
+ }
+ }
+}
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/chocolate-doom.git
More information about the Pkg-games-commits
mailing list