-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (29 loc) · 758 Bytes
/
Makefile
File metadata and controls
40 lines (29 loc) · 758 Bytes
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
PYTHON = python3
build:
$(PYTHON) setup.py build
test:
$(PYTHON) setup.py test
sdist: doc-man
$(PYTHON) setup.py sdist
doc-html: build
$(MAKE) -C doc html
doc-man: build
$(MAKE) -C doc man
clean:
rm -rf build
rm -rf __pycache__
rm -rf tests/data/example_data.yaml
rm -rf tests/data/icatdata-*.xsd
rm -rf tests/data/icatdump-* tests/data/ingest-*.xml
rm -rf tests/data/ingest-*.xsd tests/data/ingest.xslt
rm -rf tests/data/metadata-*-inl.xml tests/data/metadata-*-sep.xml
rm -rf tests/data/metadata-sample.xml
rm -rf tests/scripts
distclean: clean
rm -f MANIFEST _meta.py
rm -rf dist
rm -rf tests/.pytest_cache
$(MAKE) -C doc distclean
meta:
$(PYTHON) setup.py meta
.PHONY: build test sdist doc-html doc-man clean distclean meta