summaryrefslogtreecommitdiffstats
path: root/scilab/configure.ac
diff options
context:
space:
mode:
authorVincent COUVERT <vincent.couvert@scilab-enterprises.com>2015-01-06 14:25:46 +0100
committerVincent COUVERT <vincent.couvert@scilab-enterprises.com>2015-01-06 14:25:46 +0100
commit9d2a09a71e80f78b378d881db6603df0322ffec6 (patch)
tree9b4c2a4e80f600efb10c578cd01c2de0f79770a9 /scilab/configure.ac
parentca6e0561bf407c91ac70acbf6850d9a94cd6ab82 (diff)
parentb1d4129d9b34f148de548c96abf6acb5ec991f64 (diff)
downloadscilab-9d2a09a71e80f78b378d881db6603df0322ffec6.zip
scilab-9d2a09a71e80f78b378d881db6603df0322ffec6.tar.gz
Merge remote-tracking branch 'origin/master' into YaSp
Conflicts: scilab/libs/GetWindowsVersion/GetWindowsVersion.rc scilab/modules/double/src/c/double.rc scilab/modules/double/src/fortran/double_f.rc scilab/modules/dynamic_link/src/fortran/dynamic_link_f.rc scilab/modules/elementary_functions/src/fortran/eispack/eispack_f.rc scilab/modules/functions/src/fortran/functions_f.rc scilab/modules/graphics/macros/%h_load.sci scilab/modules/graphics/src/c/getHandleProperty/get_tight_limits_property.c scilab/modules/gui/images/icons/aboutscilab.png scilab/modules/intersci/src/lib/intersci.rc scilab/modules/io/src/fortran/io_f.rc scilab/modules/matio/src/nomatio/nomatio.rc scilab/modules/statistics/src/dcdflib/dcd_f/dcd_f.rc scilab/modules/string/src/fortran/string_f.rc Change-Id: I5f90572240048332f406a0fb3ce163c225e0ca1a
Diffstat (limited to 'scilab/configure.ac')
-rw-r--r--scilab/configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/scilab/configure.ac b/scilab/configure.ac
index bb01467..46abfaa 100644
--- a/scilab/configure.ac
+++ b/scilab/configure.ac
@@ -1908,15 +1908,15 @@ AC_DEFINE_UNQUOTED([SHARED_LIB_EXTW],[L"$shrext_cmds"],[Extension of a shared li
1908## Update the years in the various part of the code. 1908## Update the years in the various part of the code.
1909################# 1909#################
1910 1910
1911if test ! -f modules/core/src/c/banier.c; then 1911if test ! -f modules/core/src/cpp/banner.cpp; then
1912 AC_MSG_ERROR([Could not find the Scilab banier file.]) 1912 AC_MSG_ERROR([Could not find the Scilab banner file.])
1913fi 1913fi
1914 1914
1915CURRENT_YEAR=`date "+%Y"` 1915CURRENT_YEAR=`date "+%Y"`
1916DETECTED_YEAR=`grep "Copyright (c) 2011-" modules/core/src/c/banier.c|sed -e "s/.*Copyright (c) 2011-\([[0-9]]*\).*/\1/g"` 1916DETECTED_YEAR=`grep "Copyright (c) 2011-" modules/core/src/cpp/banner.cpp|sed -e "s/.*Copyright (c) 2011-\([[0-9]]*\).*/\1/g"`
1917 1917
1918if test "$CURRENT_YEAR" != "$DETECTED_YEAR"; then 1918if test "$CURRENT_YEAR" != "$DETECTED_YEAR"; then
1919 sed -i -e "s| 2011-$DETECTED_YEAR | 2011-$CURRENT_YEAR |g" modules/core/src/c/banier.c modules/windows_tools/src/c/scilab_windows/console.c 1919 sed -i -e "s| 2011-$DETECTED_YEAR | 2011-$CURRENT_YEAR |g" modules/core/src/cpp/banner.cpp modules/windows_tools/src/c/scilab_windows/console.c
1920 sed -i -e "s| 2011-$DETECTED_YEAR Scilab Enterprises| 2011-$CURRENT_YEAR Scilab Enterprises|g" etc/Info.plist.in 1920 sed -i -e "s| 2011-$DETECTED_YEAR Scilab Enterprises| 2011-$CURRENT_YEAR Scilab Enterprises|g" etc/Info.plist.in
1921 sed -i -e "s|VALUE \"LegalCopyright\", \"Copyright (C) $DETECTED_YEAR|VALUE \"LegalCopyright\", \"Copyright (C) $CURRENT_YEAR|" $(find . -iname '*.rc') 1921 sed -i -e "s|VALUE \"LegalCopyright\", \"Copyright (C) $DETECTED_YEAR|VALUE \"LegalCopyright\", \"Copyright (C) $CURRENT_YEAR|" $(find . -iname '*.rc')
1922 AC_MSG_WARN([New year ($CURRENT_YEAR) detected. Copyright files updated. Please commit them ASAP.]) 1922 AC_MSG_WARN([New year ($CURRENT_YEAR) detected. Copyright files updated. Please commit them ASAP.])