summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/cfg.mk b/cfg.mk
index a68a9fe561..3205378767 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -35,6 +35,7 @@ local-checks-to-skip = sc_GPL_version sc_bindtextdomain \
sc_immutable_NEWS sc_program_name sc_prohibit_atoi_atof \
sc_prohibit_always_true_header_tests \
sc_prohibit_empty_lines_at_EOF sc_prohibit_hash_without_use \
+ sc_prohibit_gnu_make_extensions \
sc_prohibit_have_config_h sc_prohibit_magic_number_exit \
sc_prohibit_strcmp sc_require_config_h \
sc_require_config_h_first sc_texinfo_acronym sc_trailing_blank \
@@ -42,7 +43,6 @@ local-checks-to-skip = sc_GPL_version sc_bindtextdomain \
sc_two_space_separator_in_usage
VC_LIST_ALWAYS_EXCLUDE_REGEX = ^maint.mk|gtk-doc.make|m4/pkg|doc/fdl-1.3.texi|src/.*\.bak|src/crywrap/|(devel/perlasm/|lib/accelerated/x86/|build-aux/|gl/|src/libopts/|tests/suite/ecore/|doc/protocol/).*$$
-update-copyright-env = UPDATE_COPYRIGHT_USE_INTERVALS=1
# Explicit syntax-check exceptions.
exclude_file_name_regexp--sc_copyright_check = ^./gnulib/.*$$
@@ -77,6 +77,12 @@ glimport:
echo "If everything looks well, commit the gnulib update with:"
echo " git commit -m "Update gnulib submodule" gnulib"
+# Update Copyright year in tools and docs
+
+update-copyright-year:
+ $(AM_V_at)$(SED) -i "s/\"2000-[0-9]\{4,\}\"/\"2000-`date +%Y`\"/g" src/args-std.def.in
+ $(AM_V_at)$(SED) -i "s/ 2001-[0-9]\{4,\} / 2001-`date +%Y` /g" doc/gnutls.texi
+
# Code Coverage
clang: