forked from Gaius-Augustus/Augustus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
50 lines (42 loc) · 1.36 KB
/
Makefile
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
#
# Makefile for Augustus
#
include common.mk
all:
mkdir -p bin
cd src && ${MAKE}
cd auxprogs && ${MAKE}
clean:
cd src && ${MAKE} clean
cd auxprogs && ${MAKE} clean
INSTALLDIR = /opt/augustus-$(AUGVERSION)
install:
install -d $(INSTALLDIR)
cp -a config bin scripts $(INSTALLDIR)
ln -sf $(INSTALLDIR)/bin/augustus /usr/local/bin/augustus
ln -sf $(INSTALLDIR)/bin/etraining /usr/local/bin/etraining
ln -sf $(INSTALLDIR)/bin/prepareAlign /usr/local/bin/prepareAlign
ln -sf $(INSTALLDIR)/bin/fastBlockSearch /usr/local/bin/fastBlockSearch
ln -sf $(INSTALLDIR)/bin/load2db /usr/local/bin/load2db
ln -sf $(INSTALLDIR)/bin/getSeq /usr/local/bin/getSeq
ln -sf $(INSTALLDIR)/bin/espoca /usr/local/bin/espoca
# for internal purposes:
release:
find . -name "*~" | xargs rm -f
rm .travis.yml
rm -rf .git
rm -f src/makedepend.pl
cd docs/tutorial2015/results; ls | grep -v do.sh | grep -v README | xargs rm; cd -
rm -r auxprogs/utrrnaseq/input/human-chr19
rm -r docs/tutorial-cgp/results/cactusout
make clean all
rm config/species/generic/*.pbl
cd src/parser; rm Makefile; cd -
cd ..; tar -czf augustus-$(AUGVERSION).tar.gz augustus-$(AUGVERSION)
test:
./tests/examples_test/testcases.py --compare --html --set_default_wd
unit_test:
cd src && ${MAKE} unittest
cd src/unittests && ./unittests
# remove -static from src/Makefile for MAC users
# remove -g -gdb from CXXFLAGS