##// END OF EJS Templates
Added install target.
Added install target.

File last commit:

r2233:3840cefa default
r2233:3840cefa default
Show More
Makefile
31 lines | 597 B | text/x-makefile | MakefileLexer
wilde@trapperkeeper.sha-bang.de
Added install target.
r2233 PREFIX=/usr/local
export PREFIX
Thomas Arendsen Hein
Add Makefile for generating release tarballs....
r1008 PYTHON=python
all:
mpm@selenic.com
Add default make rule...
r1020 $(PYTHON) setup.py build_ext -i
wilde@trapperkeeper.sha-bang.de
Added install target.
r2233 install: all
$(PYTHON) setup.py install --home="$(PREFIX)"
cd doc && $(MAKE) $(MFLAGS) install
Thomas Arendsen Hein
Add Makefile for generating release tarballs....
r1008
clean:
-$(PYTHON) setup.py clean --all # ignore errors of this command
find . -name '*.py[co]' -exec rm -f '{}' ';'
levon@movementarian.org
Use $(MAKE) not make
r1423 $(MAKE) -C doc clean
Thomas Arendsen Hein
Add Makefile for generating release tarballs....
r1008
dist: tests doc
TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py sdist --force-manifest
tests:
Stephen Darnell
Delete the shell version of run-tests...
r2207 cd tests && $(PYTHON) run-tests.py
Thomas Arendsen Hein
Add Makefile for generating release tarballs....
r1008
Benoit Boissinot
add a target for running only one test
r1426 test-%:
Stephen Darnell
Delete the shell version of run-tests...
r2207 cd tests && $(PYTHON) run-tests.py $@
Benoit Boissinot
add a target for running only one test
r1426
Thomas Arendsen Hein
Add Makefile for generating release tarballs....
r1008 doc:
levon@movementarian.org
Use $(MAKE) not make
r1423 $(MAKE) -C doc
Thomas Arendsen Hein
Add Makefile for generating release tarballs....
r1008
.PHONY: all clean dist tests doc