Commit 0c0470f9 authored by Nils Philippsen's avatar Nils Philippsen
Browse files

use computed copyright year in Windows rc files

parent f507a6aa
#include <winver.h>
#include "git-version.h"
#define _QUOTE(x) #x
#define QUOTE(x) _QUOTE(x)
#define CONCAT(x,y) x ## y
#define VER_COMPANYNAME_STR "Spencer Kimball, Peter Mattis and the GIMP Development Team"
......@@ -16,7 +18,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 CONCAT("Copyright 1995-", GIMP_GIT_LAST_COMMIT_YEAR)
#ifndef DEBUG
#define VER_DEBUG 0
......
......@@ -3,4 +3,5 @@
$(WINDRES) --define ORIGINALFILENAME_STR="$*$(EXEEXT)" \
--define INTERNALNAME_STR="$*" \
--define TOP_SRCDIR="$(top_srcdir)" \
-I$(top_srcdir)/app \
$< $@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment