From: Mathias Preiner Date: Fri, 7 Jul 2017 21:56:20 +0000 (-0700) Subject: Update files that are part of the CVC4 license, exclude minisat files. X-Git-Tag: cvc5-1.0.0~5738 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6616eca654fe345abe70f853472fafe5af171810;p=cvc5.git Update files that are part of the CVC4 license, exclude minisat files. --- diff --git a/contrib/update-copyright.pl b/contrib/update-copyright.pl index 99472ff94..54122b236 100755 --- a/contrib/update-copyright.pl +++ b/contrib/update-copyright.pl @@ -34,8 +34,17 @@ # the license.) # -my $excluded_directories = '^(minisat|bvminisat|CVS|generated)$'; -my $excluded_paths = '^(src/parser/antlr_input_imports.cpp|src/bindings/compat/.*|src/util/channel.h)$'; +my $excluded_directories = '^(CVS|generated)$'; +my $excluded_paths = '^('; +$excluded_paths .= 'src/bindings/compat/.*'; +# different license +$excluded_paths .= '|src/util/channel.h'; +# minisat license +$excluded_paths .= '|src/prop/(bv)?minisat/core/.*'; +$excluded_paths .= '|src/prop/(bv)?minisat/mtl/.*'; +$excluded_paths .= '|src/prop/(bv)?minisat/simp/.*'; +$excluded_paths .= '|src/prop/(bv)?minisat/utils/.*'; +$excluded_paths .= '$)'; # Years of copyright for the template. E.g., the string # "1985, 1987, 1992, 1997, 2008" or "2006-2009" or whatever.