-
Notifications
You must be signed in to change notification settings - Fork 52
/
antigen.sh
executable file
·55 lines (42 loc) · 1.31 KB
/
antigen.sh
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
#!/bin/sh
#
# An utility script to remove all generated files.
#
# Running autogen.sh will be required after running this script since
# the 'configure' script will also be removed.
#
# This script is mainly useful when testing autoconf/automake changes
# and as a part of their development process.
# If there's a Makefile, then run the 'distclean' target first (which
# will also remove the Makefile).
if test -f Makefile; then
make distclean
fi
# Also clean docs
cd doc
if test -f Makefile; then
make clean
fi
cd ..
# Remove boost
rm -Rf deps/boost/bin.v2 deps/boost/build
# Remove all tar-files (assuming there are some packages), and any expanded directories.
rm -f *.tar.* *.tgz
rm -Rf kat-*/
# Remove the build_aux directory
rm -Rf build-aux
# Also remove the autotools cache directory.
rm -Rf autom4te.cache
# Remove rest of the generated files.
rm -f Makefile.in tests/Makefile.in config.* aclocal.m4 configure depcomp install-sh missing libtool ltmain.sh
# And do the same for jellyfish
cd deps/jellyfish-2.2.0
# Also remove the autotools cache directory.
rm -Rf autom4te.cache
# Remove rest of the generated files.
rm -f Makefile.in config.* aclocal.m4 configure depcomp install-sh missing libtool ltmain.sh compile test-driver
# Move to seqan
cd ../seqan-library-2.0.0
rm -f Makefile.in
# Move back
cd ../../