]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Contrib: Improve update-copyright script
authorMatthias Maier <tamiko@43-1.org>
Thu, 26 Apr 2018 17:21:35 +0000 (12:21 -0500)
committerMatthias Maier <tamiko@43-1.org>
Fri, 27 Apr 2018 01:33:28 +0000 (20:33 -0500)
contrib/utilities/update-copyright

index 4bf745bf5daf851cff2b0b2229ce8923b2bf56d0..f7247d62bb0c2b244eb10fb2f963b5e7d3b3ad05 100755 (executable)
@@ -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.

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.