7 /* GLIB - Library of useful routines for C programming
8 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Library General Public
12 * License as published by the Free Software Foundation; either
13 * version 2 of the License, or (at your option) any later version.
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Library General Public License for more details.
20 * You should have received a copy of the GNU Library General Public
21 * License along with this library; if not, write to the Free
22 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
30 /* GDK - The GIMP Drawing Kit
31 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
33 * This library is free software; you can redistribute it and/or
34 * modify it under the terms of the GNU Library General Public
35 * License as published by the Free Software Foundation; either
36 * version 2 of the License, or (at your option) any later version.
38 * This library is distributed in the hope that it will be useful,
39 * but WITHOUT ANY WARRANTY; without even the implied warranty of
40 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
41 * Library General Public License for more details.
43 * You should have received a copy of the GNU Library General Public
44 * License along with this library; if not, write to the Free
45 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
53 /* GTK - The GIMP Toolkit
54 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
56 * This library is free software; you can redistribute it and/or
57 * modify it under the terms of the GNU Library General Public
58 * License as published by the Free Software Foundation; either
59 * version 2 of the License, or (at your option) any later version.
61 * This library is distributed in the hope that it will be useful,
62 * but WITHOUT ANY WARRANTY; without even the implied warranty of
63 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
64 * Library General Public License for more details.
66 * You should have received a copy of the GNU Library General Public
67 * License along with this library; if not, write to the Free
68 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
76 /* GTK Interp - The GTK Interpreter
77 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
79 * This library is free software; you can redistribute it and/or
80 * modify it under the terms of the GNU Library General Public
81 * License as published by the Free Software Foundation; either
82 * version 2 of the License, or (at your option) any later version.
84 * This library is distributed in the hope that it will be useful,
85 * but WITHOUT ANY WARRANTY; without even the implied warranty of
86 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
87 * Library General Public License for more details.
89 * You should have received a copy of the GNU Library General Public
90 * License along with this library; if not, write to the Free
91 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
97 exclude_files="./glib/gconfig.h"
99 for file in `find . -name "*.[ch]" -print`; do
100 exclude=`echo $exclude_files | grep $file`
102 if test "x$exclude" = "x"; then
104 if test "x$dir" != "x."; then
105 subdir=`basename $dir`
107 grepout=`grep Copyright $file`
108 if test "x$grepout" = "x"; then
109 backup_dir="$dir/bak"
110 if test ! -d $backup_dir; then
111 echo "making directory: $backup_dir"
117 filename=`basename $file`
118 cp $file $backup_dir/$filename
119 copyright_$subdir > $file
120 cat $backup_dir/$filename >> $file