From: Matthias Maier Date: Thu, 26 Apr 2018 17:21:35 +0000 (-0500) Subject: Contrib: Improve update-copyright script X-Git-Tag: v9.0.0-rc1~98^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f1e2a210d6fe0b8b2b6ab04bab61414b1791430;p=dealii.git Contrib: Improve update-copyright script --- 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.