use FORCE for phony commands

This commit is contained in:
2014-12-20 02:33:10 +01:00
parent c5d25dce15
commit 8585580b83

View File

@@ -3,18 +3,18 @@
# pep8 test
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
gvim --nofork -c "cfile pep8.log" -c "cope" -c "clast"
test:
test: FORCE
python3 ./tests/test_cli.py
.PHONY: doc
doc:
doc: FORCE
$(MAKE) -C doc html
@echo "xdg-open doc/build/html/index.html"
clean:
clean: FORCE
$(MAKE) -C docs clean
FORCE: