lyskomd-copyrights 2.67 KB
Newer Older
Per Cederqvist's avatar
Per Cederqvist committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#!/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