Imported robodoc
[silc.git] / prepare-clean
1 #! /bin/sh
2 #
3 #  prepare-clean
4 #
5 #  Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
6 #
7 #  Copyright (C) 2000 Pekka Riikonen
8 #
9 #  This program is free software; you can redistribute it and/or modify
10 #  it under the terms of the GNU General Public License as published by
11 #  the Free Software Foundation; either version 2 of the License, or
12 #  (at your option) any later version.
13 #
14 #  This program is distributed in the hope that it will be useful,
15 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
16 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 #  GNU General Public License for more details.
18 #
19
20 #
21 # Removes *all* automatically generated files so that after calling this
22 # the tree is completely clean and can be prepared for configuration
23 # and compilation by calling ./prepare.
24 #
25
26 echo "Cleaning entire SILC source tree..."
27 echo "All errors and warnings may be safely ignored."
28 gmake clean -k
29 gmake distclean -k
30 rm -f ltmain.sh
31 rm -f ltconfig
32 rm -f ltcf*
33 rm -f Makefile.am
34 rm -f Makefile.defines
35 rm -f Makefile.defines.in
36 rm -f Makefile.defines_int
37 rm -f Makefile.defines_int.in
38 rm -f acconfig.h
39 rm -f irssi/Makefile.defines
40 rm -f irssi/Makefile.defines.in
41 rm -f irssi/Makefile.defines_int
42 rm -f irssi/Makefile.defines_int.in
43 rm -f lib/Makefile.am
44 rm -f configure.in
45 rm -f includes/stamp-*
46 rm -f includes/silcconfig.*
47 rm -f includes/version_internal.h
48 rm -f includes/silcdefs.h.in
49 rm -f Makefile.in
50 rm -f doc/draft-*.txt
51 rm -f doc/Makefile.in
52 rm -f includes/Makefile.in
53 rm -f lib/Makefile.in
54 rm -f lib/contrib/Makefile.in
55 rm -f lib/silcclient/Makefile.in
56 rm -f lib/silccore/Makefile.in
57 rm -f lib/silcutil/Makefile.in
58 rm -f lib/silccrypt/Makefile.in
59 rm -f lib/silcmath/Makefile.in
60 rm -f lib/silcsim/Makefile.in
61 rm -f lib/silcsim/modules/Makefile.in
62 rm -f lib/silcske/Makefile.in
63 rm -f lib/trq/tests/Makefile
64 rm -f lib/trq/trq_test/Makefile
65 rm -rf lib/silcmath/gmp/.deps
66 rm -f silcd/Makefile.in silcd/log* silcd/*.log
67 rm -f silc/Makefile.in silc/log* silc/*.log
68 rm -f aclocal.m4
69 rm -f config.status
70 rm -f configure
71 cd irssi
72 rm -f COPYING
73 rm -f INSTALL
74 rm -f Makefile.in
75 rm -f */Makefile.in
76 rm -f */*/Makefile.in
77 rm -f */*/*/Makefile.in
78 rm -f */*/*/*/Makefile.in
79 rm -f default-theme.h
80 rm -f libtool-shared
81 rm -f stamp-*
82 rm -f docs/startup*.txt
83 cd docs/help
84 cp Makefile.am.gen ..
85 rm -f * 2>/dev/null
86 mv ../Makefile.am.gen .
87 cd ../..
88 rm -f docs/help/in/Makefile.am
89 echo "Done."