Fix version resources for app/ and add the same code for plug-ins

This commit is contained in:
Michael Schumacher 2010-09-30 00:24:48 +02:00
parent 50efb96222
commit a5071f1252
4 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,5 @@
#include <winver.h>
#include "git-version.h"
#define _QUOTE(x) #x
#define QUOTE(x) _QUOTE(x)
@ -16,7 +17,7 @@
#define VER_INTERNALNAME_STR QUOTE(INTERNALNAME_STR)
#define VER_ORIGINALFILENAME_STR QUOTE(ORIGINALFILENAME_STR)
#define VER_LEGALCOPYRIGHT_STR "Copyright © 1995-2010"
#define VER_LEGALCOPYRIGHT_STR "Copyright © 1995-" GIMP_GIT_LAST_COMMIT_YEAR
#ifndef DEBUG
#define VER_DEBUG 0

View File

@ -18,7 +18,7 @@
#define VER_INTERNALNAME_STR QUOTE(INTERNALNAME_STR)
#define VER_ORIGINALFILENAME_STR QUOTE(ORIGINALFILENAME_STR)
#define VER_LEGALCOPYRIGHT_STR CONCAT("Copyright © 1995-", GIMP_GIT_LAST_COMMIT_YEAR)
#define VER_LEGALCOPYRIGHT_STR "Copyright © 1995-" GIMP_GIT_LAST_COMMIT_YEAR
#ifndef DEBUG
#define VER_DEBUG 0

View File

@ -3,4 +3,5 @@
$(WINDRES) --define ORIGINALFILENAME_STR="$*$(EXEEXT)" \
--define INTERNALNAME_STR="$*" \
--define TOP_SRCDIR="$(top_srcdir)" \
-I$(top_srcdir)/app \
$< $@