Makefile
changeset 4706 f0aa759b8f93
parent 3969 edaf68032a27
child 4707 3fd4dde37628
equal deleted inserted replaced
4705:7ffb8bedb5de 4706:f0aa759b8f93
     5 help:
     5 help:
     6 	@echo 'Commonly used make targets:'
     6 	@echo 'Commonly used make targets:'
     7 	@echo '  all          - build program and documentation'
     7 	@echo '  all          - build program and documentation'
     8 	@echo '  install      - install program and man pages to PREFIX ($(PREFIX))'
     8 	@echo '  install      - install program and man pages to PREFIX ($(PREFIX))'
     9 	@echo '  install-home - install with setup.py install --home=HOME ($(HOME))'
     9 	@echo '  install-home - install with setup.py install --home=HOME ($(HOME))'
    10 	@echo '  local        - build C extensions for inplace usage'
    10 	@echo '  local        - build for inplace usage'
    11 	@echo '  tests        - run all tests in the automatic test suite'
    11 	@echo '  tests        - run all tests in the automatic test suite'
    12 	@echo '  test-foo     - run only specified tests (e.g. test-merge1)'
    12 	@echo '  test-foo     - run only specified tests (e.g. test-merge1)'
    13 	@echo '  dist         - run all tests and create a source tarball in dist/'
    13 	@echo '  dist         - run all tests and create a source tarball in dist/'
    14 	@echo '  clean        - remove files created by other targets'
    14 	@echo '  clean        - remove files created by other targets'
    15 	@echo '                 (except installed files or dist source tarball)'
    15 	@echo '                 (except installed files or dist source tarball)'
    22 
    22 
    23 all: build doc
    23 all: build doc
    24 
    24 
    25 local:
    25 local:
    26 	$(PYTHON) setup.py build_ext -i
    26 	$(PYTHON) setup.py build_ext -i
       
    27 	$(PYTHON) setup.py build_py -c -d .
       
    28 	$(PYTHON) hg version
    27 
    29 
    28 build:
    30 build:
    29 	$(PYTHON) setup.py build
    31 	$(PYTHON) setup.py build
    30 
    32 
    31 doc:
    33 doc: