10 $(PYTHON
) setup.py build
13 $(PYTHON
) setup.py
install --prefix=$(prefix) --root
=$(DESTDIR
) --force
16 $(MAKE
) -C Documentation
all
19 $(MAKE
) -C Documentation
install
22 $(MAKE
) -C Documentation install-html
25 $(PYTHON
) setup.py build
29 for patch in
$$(stg series
--noprefix
$(TEST_PATCHES
)); do \
30 stg goto
$$patch && $(MAKE
) test || break
; \
33 coverage
: coverage-test coverage-report
36 $(PYTHON
) -m coverage run setup.py build
37 COVERAGE_PROCESS_START
=$(PWD
)/.coveragerc
$(MAKE
) -C t
all
38 $(PYTHON
) -m coverage combine
$$(find .
-name
'.coverage.*')
41 $(PYTHON
) -m coverage html
--title
="stgit coverage"
42 $(PYTHON
) -m coverage report
43 @echo
"HTML coverage report: file://$(PWD)/htmlcov/index.html"
46 for
dir in Documentation t
; do \
47 $(MAKE
) -C
$$dir clean; \
52 rm -rf stgit
/__pycache__
53 rm -f stgit
/builtin_version.py
54 rm -f stgit
/commands
/*.pyc
55 rm -rf stgit
/commands
/__pycache__
56 rm -f stgit
/commands
/cmdlist.py
58 rm -rf stgit
/lib
/__pycache__
61 rm -f stgit-completion.bash
69 .PHONY
: all install doc install-doc install-html
test test_patches \
70 coverage coverage-test coverage-report
clean tags TAGS