From 0f1e2a210d6fe0b8b2b6ab04bab61414b1791430 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 26 Apr 2018 12:21:35 -0500 Subject: [PATCH] Contrib: Improve update-copyright script --- contrib/utilities/update-copyright | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/contrib/utilities/update-copyright b/contrib/utilities/update-copyright index 4bf745bf5d..f7247d62bb 100755 --- a/contrib/utilities/update-copyright +++ b/contrib/utilities/update-copyright @@ -1,7 +1,7 @@ #!/bin/bash ## --------------------------------------------------------------------- ## -## Copyright (C) 2015, 2016 by the deal.II authors +## Copyright (C) 2015 - 2018 by the deal.II authors ## ## This file is part of the deal.II library. ## @@ -25,15 +25,23 @@ if test ! -d source -o ! -d include -o ! -d examples ; then fi -files="`echo include/deal.II/*/*h \ - source/*/*cc \ - source/*/*in \ - examples/*/*.cc` - `find cmake/ | egrep '\.(cmake|in|cc)$'` - `find . -name CMakeLists.txt` - `find tests/ | egrep '\.(h|cc)$'` - `find doc/ | egrep '\.html$'` - " +files=" + $(echo contrib/*/*.{py,sh} \ + contrib/python-bindings/CMakeLists.txt \ + contrib/python-bindings/*/*.{h,cc,py} \ + contrib/utilities/{update-copyright,indent} \ + doc/doxygen/*/*.{h,h.in} \ + doc/doxygen/scripts/{create_anchors,filter,intro2toc,program*,*.pl} \ + doc/screen.css \ + examples/*/*.cc \ + include/deal.II/*/*h \ + source/*/*.{cc,in}) + $(find cmake/ | egrep '\.(cmake|in|cc)$') + $(find . -name CMakeLists.txt) + $(find tests/ | egrep '\.(h|cc)$') + $(find doc/ | egrep '\.html$') +" + for i in $files ; do # get the last year this file was modified from the git log. -- 2.39.5