Commits

Anonymous committed 8e3a2c5

make now works without python3

  • Participants
  • Parent commits 5eb7364

Comments (0)

Files changed (1)

              -i tests/coverage.py -i env -i utils/convert.py \
              -i utils/reindent3.py -i utils/check_sources3.py -i .tox
 
-all: clean-pyc check test
+all: clean-pyc clean-backupfiles check test
 
+ifeq ($(PYTHON), python3)
 check: convert-utils
-ifeq ($(PYTHON), python3)
 	@$(PYTHON) utils/check_sources3.py $(DONT_CHECK) .
 else
+check:
 	@$(PYTHON) utils/check_sources.py $(DONT_CHECK) .
 endif
 
 pylint:
 	@pylint --rcfile utils/pylintrc sphinx
 
+ifeq ($(PYTHON), python3)
 reindent: convert-utils
-ifeq ($(PYTHON), python3)
 	@$(PYTHON) utils/reindent3.py -r -n .
 else
+reindent:
 	@$(PYTHON) utils/reindent.py -r -n .
 endif
 
 build:
 	@$(PYTHON) setup.py build
 
+ifeq ($(PYTHON), python3)
 convert-utils:
 	@python3 utils/convert.py -i utils/convert.py utils/
+endif