-PREFIX ?= $(HOME)
+prefix ?= $(HOME)
DESTDIR ?= /
PYTHON ?= python
$(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
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