Makefile 312 B

123456789101112131415161718192021
  1. PYTHON = python
  2. SETUP = $(PYTHON) setup.py
  3. TRIAL = $(shell which trial)
  4. all: build
  5. build::
  6. $(SETUP) build
  7. $(SETUP) build_ext -i
  8. install::
  9. $(SETUP) install
  10. check:: build
  11. PYTHONPATH=. $(PYTHON) $(TRIAL) dulwich
  12. check-noextensions:: clean
  13. PYTHONPATH=. $(PYTHON) $(TRIAL) dulwich
  14. clean::
  15. $(SETUP) clean