Mercurial > hg > mercurial-crew-with-dirclash
diff Makefile @ 2233:3840cefa5222
Added install target.
author | wilde@trapperkeeper.sha-bang.de |
---|---|
date | Tue, 09 May 2006 17:05:49 +0200 |
parents | 8a2a7f7d9df6 |
children | 9ea93ff67a73 |
line wrap: on
line diff
--- a/Makefile +++ b/Makefile @@ -1,11 +1,13 @@ -# This Makefile is only used by developers. +PREFIX=/usr/local +export PREFIX PYTHON=python all: $(PYTHON) setup.py build_ext -i -install: - @echo "Read the file README for install instructions." +install: all + $(PYTHON) setup.py install --home="$(PREFIX)" + cd doc && $(MAKE) $(MFLAGS) install clean: -$(PYTHON) setup.py clean --all # ignore errors of this command