| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 | PROJ=celeryPYTHON=pythonGIT=gitTOX=toxNOSETESTS=nosetestsICONV=iconvFLAKE8=flake8FLAKEPLUS=flakeplusSPHINX2RST=sphinx2rstSPHINX_DIR=docs/SPHINX_BUILDDIR="${SPHINX_DIR}/_build"README=README.rstREADME_SRC="docs/templates/readme.txt"CONTRIBUTING=CONTRIBUTING.rstCONTRIBUTING_SRC="docs/contributing.rst"SPHINX_HTMLDIR="${SPHINX_BUILDDIR}/html"DOCUMENTATION=DocumentationFLAKEPLUSTARGET=2.7WORKER_GRAPH="docs/images/worker_graph_full.png"all: helphelp:	@echo "docs                 - Build documentation."	@echo "test-all             - Run tests for all supported python versions."	@echo "distcheck ---------- - Check distribution for problems."	@echo "  test               - Run unittests using current python."	@echo "  lint ------------  - Check codebase for problems."	@echo "    apicheck         - Check API reference coverage."	@echo "    configcheck      - Check configuration reference coverage."	@echo "    readmecheck      - Check README.rst encoding."	@echo "    contribcheck     - Check CONTRIBUTING.rst encoding"	@echo "    flakes --------  - Check code for syntax and style errors."	@echo "      flakecheck     - Run flake8 on the source code."	@echo "      flakepluscheck - Run flakeplus on the source code."	@echo "readme               - Regenerate README.rst file."	@echo "contrib              - Regenerate CONTRIBUTING.rst file"	@echo "clean-dist --------- - Clean all distribution build artifacts."	@echo "  clean-git-force    - Remove all uncomitted files."	@echo "  clean ------------ - Non-destructive clean"	@echo "    clean-pyc        - Remove .pyc/__pycache__ files"	@echo "    clean-docs       - Remove documentation build artifacts."	@echo "    clean-build      - Remove setup artifacts."clean: clean-docs clean-pyc clean-buildclean-dist: clean clean-git-forceDocumentation:	(cd "$(SPHINX_DIR)"; $(MAKE) html)	mv "$(SPHINX_HTMLDIR)" $(DOCUMENTATION)docs: Documentationclean-docs:	-rm -rf "$(SPHINX_BUILDDIR)"lint: flakecheck apicheck configcheck readmecheckapicheck:	(cd "$(SPHINX_DIR)"; $(MAKE) apicheck)configcheck:	(cd "$(SPHINX_DIR)"; $(MAKE) configcheck)flakecheck:	$(FLAKE8) "$(PROJ)"flakediag:	-$(MAKE) flakecheckflakepluscheck:	$(FLAKEPLUS) --$(FLAKEPLUSTARGET) "$(PROJ)"flakeplusdiag:	-$(MAKE) flakepluscheckflakes: flakediag flakeplusdiagclean-readme:	-rm -f $(README)readmecheck:	$(ICONV) -f ascii -t ascii $(README) >/dev/null$(README):	$(SPHINX2RST) "$(README_SRC)" --ascii > $@readme: clean-readme $(README) readmecheckclean-contrib:	-rm -f "$(CONTRIBUTING)"$(CONTRIBUTING):	$(SPHINX2RST) "$(CONTRIBUTING_SRC)" > $@contrib: clean-contrib $(CONTRIBUTING)clean-pyc:	-find . -type f -a \( -name "*.pyc" -o -name "*$$py.class" \) | xargs rm	-find . -type d -name "__pycache__" | xargs rm -rremovepyc: clean-pycclean-build:	rm -rf build/ dist/ .eggs/ *.egg-info/ .tox/ .coverage cover/clean-git:	$(GIT) clean -xdnclean-git-force:	$(GIT) clean -xdftest-all: clean-pyc	$(TOX)test:	$(PYTHON) setup.py testcov:	$(NOSETESTS) -xv --with-coverage --cover-html --cover-branchbuild:	$(PYTHON) setup.py sdist bdist_wheeldistcheck: lint test cleandist: readme contrib clean-dist build$(WORKER_GRAPH):	$(PYTHON) -m celery graph bootsteps | dot -Tpng -o $@clean-graph:	-rm -f $(WORKER_GRAPH)graph: clean-graph $(WORKER_GRAPH)authorcheck:	git shortlog -se | cut -f2 | extra/release/attribution.py
 |