forked from TESScience/tessfpe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
31 lines (22 loc) · 753 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
28
29
30
31
.PHONY: all install_testsuite testsuite_install clean test version
all: tessfpe/sequencer_dsl/SequencerDSLParser.py
version:
@echo $(VERSION)
tessfpe/sequencer_dsl/SequencerDSLParser.py:
make -C $(dir $@) $(notdir $@)
testsuite_install: install_testsuite
install_testsuite: setup.py testsuite/venv tessfpe/sequencer_dsl/SequencerDSLParser.py
@[ -d testsuite/venv/lib/python2.7/site-packages/tessfpe-*.egg ] \
|| testsuite/venv/bin/python setup.py install
reinstall_testsuite:
rm -rf testsuite/venv
make install_testsuite
testsuite/venv:
make -C testsuite venv
test:
make -C tessfpe test
clean:
rm -rf $(shell find . -name "*.pyc")
rm -rf MANIFEST dist/ tessfpe.egg-info/ build/
make -C tessfpe clean
make -C testsuite clean