* mkvers.sh: Automate generating the copyright date in the version

resource.
	* winver.rc: Ditto.
This commit is contained in:
Corinna Vinschen 2015-02-03 13:15:49 +00:00
parent 1f3dd90552
commit 0f5a7b350f
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2015-02-03 Corinna Vinschen <corinna@vinschen.de>
* mkvers.sh: Automate generating the copyright date in the version
resource.
* winver.rc: Ditto.
2015-01-28 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in (VERSION_OFILES): New variable containing object files

View File

@ -1,8 +1,8 @@
#!/bin/sh
# mkvers.sh - Make version information for cygwin DLL
#
# Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2010, 2012 Red Hat,
# Inc.
# Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2010, 2012,
# 2014, 2015 Red Hat, Inc.
#
# This file is part of Cygwin.
#
@ -166,4 +166,4 @@ fi
echo "Version $cygwin_ver"
set -$- $builddate
$windres $iflags --define CYGWIN_BUILD_DATE="$1" --define CYGWIN_BUILD_TIME="$2" --define CYGWIN_VERSION='"'"$cygwin_ver"'"' $rcfile winver.o
$windres $iflags --define CYGWIN_BUILD_DATE="$1" --define CYGWIN_BUILD_TIME="$2" --define CYGWIN_BUILD_YEAR=$y --define CYGWIN_VERSION='"'"$cygwin_ver"'"' $rcfile winver.o

View File

@ -33,7 +33,7 @@ BEGIN
VALUE "FileDescription", "Cygwin POSIX Emulation DLL"
VALUE "FileVersion", STRINGIFY(CYGWIN_VERSION)
VALUE "InternalName", CYGWIN_DLL_NAME
VALUE "LegalCopyright", "Copyright \251 Red Hat, Inc. 1996-2014"
VALUE "LegalCopyright", "Copyright \251 Red Hat, Inc. 1996-" STRINGIFY(CYGWIN_BUILD_YEAR)
VALUE "OriginalFilename", CYGWIN_DLL_NAME
VALUE "ProductName", "Cygwin"
VALUE "ProductVersion", STRINGIFY(CYGWIN_VERSION)