X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/7a6a45b5f1379466bd23b33a7feed47d0b8331b7..ff3db0e4da2b61c858766adf5237c2877ffd411b:/Makefile diff --git a/Makefile b/Makefile index e5c002a..9322fe0 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PREFIX ?= $(HOME) +prefix ?= $(HOME) DESTDIR ?= / PYTHON ?= python @@ -8,11 +8,17 @@ all: $(PYTHON) setup.py build install: - $(PYTHON) setup.py install --prefix=$(PREFIX) --root=$(DESTDIR) --force + $(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR) --force doc: cd Documentation && $(MAKE) all +install-doc: + $(MAKE) -C Documentation install + +install-html: + $(MAKE) -C Documentation install-html + test: cd t && $(MAKE) all @@ -33,4 +39,4 @@ clean: tags: ctags -e -R stgit/* -.PHONY: all install doc test test_patches clean +.PHONY: all install doc install-doc install-html test test_patches clean