Update files that are part of the CVC4 license, exclude minisat files.
authorMathias Preiner <mathias.preiner@gmail.com>
Fri, 7 Jul 2017 21:56:20 +0000 (14:56 -0700)
committerMathias Preiner <mathias.preiner@gmail.com>
Fri, 7 Jul 2017 21:56:20 +0000 (14:56 -0700)
contrib/update-copyright.pl

index 99472ff948132794659086baf7da6b797833abe7..54122b236f55fa61d0d6c4a1a11bcc789f0c89c1 100755 (executable)
 # 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.