* 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,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