Commit c50c9f9e authored by Per Cederqvist's avatar Per Cederqvist
Browse files

First try.

parent 8e2bbdff
#!/bin/bash
# $Id: lyskomd-copyrights,v 1.1 1995/01/01 19:22:37 ceder Exp $
# Copyright (C) 1995 Lysator Academic Computer Association.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
if [ ! -f src/server/fncdef.txt ]; then
echo $0: must be invoked from base of lyskomd source >&2; exit 1
fi
if [ ! -f scripts/CVS/Entries ]; then
echo $0: must be invoked in a CVS working copy of the sources >&2; exit 1
fi
find . \( -type f -print \) -o \( -name CVS -prune \) \
| sed \
-e '/#/d' \
-e '/\.o$/d' \
-e '/\.orig$/d' \
-e '/\.rej$/d' \
-e '/\/.cvsignore$/d' \
-e '/\/ChangeLog$/d' \
-e '/\/Makefile$/d' \
-e '/\/Makefile.in$/d' \
-e '/\/README$/d' \
-e '/\/dependencies$/d' \
-e '/\/lib.*\.a$/d' \
-e '/^\.\/COPYING$/d' \
-e '/^\.\/NEWS$/d' \
-e '/^\.\/SERVER-RELEASE$/d' \
-e '/^\.\/config\.cache$/d' \
-e '/^\.\/config\.log$/d' \
-e '/^\.\/config\.status$/d' \
-e '/^\.\/configure$/d' \
-e '/^\.\/db-crypt\//d' \
-e '/^\.\/db-nocrypt\//d' \
-e '/^\.\/doc\//d' \
-e '/^\.\/include\//d' \
-e '/^\.\/run-support\/config$/d' \
-e '/^\.\/run-support\/komrunning$/d' \
-e '/^\.\/scripts\/install-sh/d' \
-e '/^\.\/scripts\/mkinstalldirs$/d' \
-e '/^\.\/src\/libraries\/libisc-new\//d' \
-e '/^\.\/src\/libraries\/regex\//d' \
-e '/^\.\/src\/server\/$/d' \
-e '/^\.\/src\/server\/.*\.gdb$/d' \
-e '/^\.\/src\/server\/Magics$/d' \
-e '/^\.\/src\/server\/To-do$/d' \
-e '/^\.\/src\/server\/\.gdbinit$/d' \
-e '/^\.\/src\/server\/call-switch\.incl$/d' \
-e '/^\.\/src\/server\/com\.h$/d' \
-e '/^\.\/src\/server\/dbck$/d' \
-e '/^\.\/src\/server\/fnc-def-init\.incl$/d' \
-e '/^\.\/src\/server\/fncdef-no-str-limit\.txt$/d' \
-e '/^\.\/src\/server\/lyskomd$/d' \
-e '/^\.\/src\/server\/prot-a-parse-arg\.c$/d' \
-e '/^\.\/src\/server\/prot-a-parse-arg\.h$/d' \
-e '/^\.\/src\/server\/updateLysKOM$/d' \
-e '/^\.\/src\/server\/version-info\.c$/d' \
-e '/^\.\/src\/server\/version\.incl$/d' \
-e '/^\.\/stamp-depend$/d' \
-e '/~$/d' \
| scripts/update-copyright
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment