From: Pavel Roskin <proski@xxxxxxx> --- Makefile | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..df77d97 --- /dev/null +++ b/Makefile @@ -0,0 +1,23 @@ +PREFIX = $(HOME) +DESTDIR = / +PYTHON = python + +all: + $(PYTHON) setup.py build + +install: + $(PYTHON) setup.py install --prefix=$(PREFIX) --root=$(DESTDIR) + +doc: + cd doc && $(MAKE) all + +test: + cd t && $(MAKE) all + +clean: + for dir in doc t; do \ + (cd $$dir && $(MAKE) clean); \ + done + rm -rf build + rm -f stgit/*.pyc + rm -f stgit/commands/*.pyc - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html