summaryrefslogtreecommitdiffstats
path: root/WebKitLibraries/win/tools/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'WebKitLibraries/win/tools/scripts')
-rw-r--r--WebKitLibraries/win/tools/scripts/COPYRIGHT-END-YEAR1
-rwxr-xr-xWebKitLibraries/win/tools/scripts/auto-version.sh5
-rwxr-xr-x[-rw-r--r--]WebKitLibraries/win/tools/scripts/feature-defines.sh0
3 files changed, 6 insertions, 0 deletions
diff --git a/WebKitLibraries/win/tools/scripts/COPYRIGHT-END-YEAR b/WebKitLibraries/win/tools/scripts/COPYRIGHT-END-YEAR
new file mode 100644
index 0000000..48ad625
--- /dev/null
+++ b/WebKitLibraries/win/tools/scripts/COPYRIGHT-END-YEAR
@@ -0,0 +1 @@
+2010
diff --git a/WebKitLibraries/win/tools/scripts/auto-version.sh b/WebKitLibraries/win/tools/scripts/auto-version.sh
index c448db7..cbdc1af 100755
--- a/WebKitLibraries/win/tools/scripts/auto-version.sh
+++ b/WebKitLibraries/win/tools/scripts/auto-version.sh
@@ -87,6 +87,10 @@ if [ -z ${ENVIRONMENT_VERSION} ]; then
VERSION_TEXT="${VERSION_TEXT_SHORT} ${USER} - ${BUILD_DATE} - r${SVN_REVISION}"
fi
+COPYRIGHT_END_YEAR_PATH=`cygpath -u "$WEBKITLIBRARIESDIR\\tools\\scripts\\COPYRIGHT-END-YEAR"`
+COPYRIGHT_END_YEAR=$(cat "$COPYRIGHT_END_YEAR_PATH");
+chomp COPYRIGHT_END_YEAR
+
cat > "$OUTPUT_FILE" <<EOF
#define __VERSION_TEXT__ "${VERSION_TEXT}"
#define __BUILD_NUMBER__ "${VERSION_TEXT}"
@@ -99,4 +103,5 @@ cat > "$OUTPUT_FILE" <<EOF
#define __BUILD_NUMBER_MINOR__ ${BUILD_MINOR_VERSION}
#define __BUILD_NUMBER_VARIANT__ ${BUILD_TINY_VERSION}
#define __SVN_REVISION__ ${SVN_REVISION}
+#define __COPYRIGHT_YEAR_END_TEXT__ "${COPYRIGHT_END_YEAR}"
EOF
diff --git a/WebKitLibraries/win/tools/scripts/feature-defines.sh b/WebKitLibraries/win/tools/scripts/feature-defines.sh
index 71c3a9b..71c3a9b 100644..100755
--- a/WebKitLibraries/win/tools/scripts/feature-defines.sh
+++ b/WebKitLibraries/win/tools/scripts/feature-defines.sh