forked from llnl/maestrowf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (23 loc) · 682 Bytes
/
Makefile
File metadata and controls
31 lines (23 loc) · 682 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
DOCS = docs
EGG = $(wildcard *.egg-info)
.PHONY: cleanall clean cleandocs docs help release
# Use '#' comments to auto document each target in the help message
help: # Show this help message
@echo 'usage: make [target] ...'
@echo
@echo 'targets:'
@egrep '^(.+)\:\ #\ (.+)' ${MAKEFILE_LIST} | column -t -c 2 -s ':#'
all: # Clean and then build everything
cleanall release docs
release: # Build wheel
python setup.py sdist bdist_wheel
docs: # Build documentation
$(MAKE) -C $(DOCS) html
clean: # Clean up release (wheel) build areas
rm -rf dist
rm -rf build
cleandocs: # Clean up docs build areas
rm -rf $(DOCS)/build
cleanall: # Clean every thing
clean
cleandocs