use FORCE for phony commands
This commit is contained in:
10
Makefile
10
Makefile
@@ -3,18 +3,18 @@
|
|||||||
|
|
||||||
# pep8 test
|
# pep8 test
|
||||||
PY_FILES=$(shell find $(PWD)/bam -type f -name '*.py')
|
PY_FILES=$(shell find $(PWD)/bam -type f -name '*.py')
|
||||||
pep8:
|
pep8: FORCE
|
||||||
- flake8 $(PY_FILES) --ignore=E501,E302,E123,E126,E128,E129,E124,E122 > pep8.log
|
- flake8 $(PY_FILES) --ignore=E501,E302,E123,E126,E128,E129,E124,E122 > pep8.log
|
||||||
gvim --nofork -c "cfile pep8.log" -c "cope" -c "clast"
|
gvim --nofork -c "cfile pep8.log" -c "cope" -c "clast"
|
||||||
|
|
||||||
test:
|
test: FORCE
|
||||||
python3 ./tests/test_cli.py
|
python3 ./tests/test_cli.py
|
||||||
|
|
||||||
.PHONY: doc
|
doc: FORCE
|
||||||
doc:
|
|
||||||
$(MAKE) -C doc html
|
$(MAKE) -C doc html
|
||||||
@echo "xdg-open doc/build/html/index.html"
|
@echo "xdg-open doc/build/html/index.html"
|
||||||
|
|
||||||
clean:
|
clean: FORCE
|
||||||
$(MAKE) -C docs clean
|
$(MAKE) -C docs clean
|
||||||
|
|
||||||
|
FORCE:
|
||||||
|
Reference in New Issue
Block a user