Initial revision
[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 make distclean
29 rm -f includes/stamp-*
30 rm -f includes/silcconfig.*
31 rm -f Makefile.in
32 rm -f doc/draft-riikonen*.txt
33 rm -f lib/Makefile.in
34 rm -f lib/silccore/Makefile.in
35 rm -f lib/silccrypt/Makefile.in
36 rm -f lib/silcmath/Makefile.in
37 rm -f lib/silcsim/Makefile.in
38 rm -f lib/silcske/Makefile.in
39 rm -f silcd/Makefile.in silcd/log* silcd/*.log
40 rm -f silc/Makefile.in silc/log* silc/*.log
41 rm -f aclocal.m4
42 rm -f configure
43 echo "Done."