-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
27 lines (20 loc) · 600 Bytes
/
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
build:
python3 setup.py build
install:
python3 setup.py install
clean:
rm -r build dist TAP_k.egg_info 2> /dev/null || exit 0
clean-test:
rm -r test/ref-scores test/ref-tool 2> /dev/null || exit 0
.PHONY: test
test: test/ref-scores
python3 test/test.py -v
test/ref-scores: test/ref-tool/tap.pl
mkdir -p $@
test/create-ref-scores.sh $(<D) test/retlists $@
test/ref-tool/tap.pl: test/TAP_1.8.zip
unzip -d test $< "TAP_1.8/*" || exit 0
mv test/TAP_1.8 $(@D)
.INTERMEDIATE: test/TAP_1.8.zip
test/TAP_1.8.zip:
wget -O $@ ftp://ftp.ncbi.nih.gov/pub/spouge/web/software/TAP_1.8/TAP_1.8.zip