merge_copyrights revision 15a44745412679c30a6d022733925af70a38b715
#
# Copyright (C) 1998-2000 Internet Software Consortium.
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# $Id: merge_copyrights,v 1.14 2000/07/27 09:54:55 tale Exp $
%file_types = ();
%file_years = ();
while (<COPYRIGHTS>) {
$file_types{$file} = $type;
$file_years{$file} = $years;
}
$year += 1900;
$find = "find . -type f -print";
while (<FILES>) {
next if (m%/\.\# | # CVS old conflict file
/CVS/ | # CVS directory
\.bak$ | # created by update_copyrights
%x);
# Strip any .in extension to find out the file's real type.
# .in files are processed by configure to produce the target file.
} else {
}
$c_year += 1900;
$m_year += 1900;
print "$_: must set copyright year(s) manually\n";
} else {
}
# keep perl from issuing warnings about "used only once"
} else {
print "$_: must set copyright year(s) manually\n";
next;
}
$has_current = 0;
$has_current = 1;
}
}
$m_year += 1900;
}
}
}
}
die "can't open newcopyrights: $!";
$tabs = 1;
} else {
$tabs++;
}
}
}
}