X-Git-Url: https://git.phdru.name/?p=cookiecutter.git;a=blobdiff_plain;f=project_template%2FMakefile;fp=project_template%2FMakefile;h=fc9c35e15e9c7a51137b31462f6f1d2616fe1046;hp=0000000000000000000000000000000000000000;hb=d15f85bc0e619e222f849804eec6c30e7c762c90;hpb=f3a77fb183a5d87ad6118547ec76632af59d36a7 diff --git a/project_template/Makefile b/project_template/Makefile new file mode 100644 index 0000000..fc9c35e --- /dev/null +++ b/project_template/Makefile @@ -0,0 +1,30 @@ + +.PHONY: all +all: + @echo "Nothing to be done for 'all'" + +.PHONY: release +release: tests flake8 html distr + +.PHONY: distr +distr: + ./mk-distr + +.PHONY: flake8 +flake8: + flake8 + +.PHONY: html +html: + $(MAKE) -C docs html + +.PHONY: test +test: + $(MAKE) -C tests + +.PHONY: tests +tests: test + +.PHONY: clean +clean: + find . -name '*.py[co]' -type f -delete