-
Notifications
You must be signed in to change notification settings - Fork 9
/
antigen.sh
executable file
·39 lines (31 loc) · 1.06 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
#!/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/build deps/boost/bin.v2
# Remove all tar-files (assuming there are some packages), and any expanded directories.
rm -f *.tar.* *.tgz
rm -Rf portcullis-*/
# Remove the build_aux directory
rm -Rf build-aux deps/htslib-1.3/build-aux
# Also remove the autotools cache directory.
rm -Rf autom4te.cache deps/htslib-1.3/autom4te.cache
# Remove rest of the generated files.
rm -f deps/htslib-1.3/Makefile.in Makefile.in tests/Makefile.in config.* aclocal.m4 configure depcomp install-sh missing libtool stamp-h1 ltmain.sh