X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/33ff9cdd840cfe2780acc41d88d33c8c3bc2761e..501a66debc40750f48917a6e4afc4f48da4dd416:/Makefile diff --git a/Makefile b/Makefile index 288622a..7183670 100644 --- a/Makefile +++ b/Makefile @@ -7,13 +7,16 @@ TEST_PATCHES ?= .. all: build $(PYTHON) setup.py build -build: stgit/commands/cmdlist.py +build: stgit/commands/cmdlist.py stgit-completion.bash ALL_PY = $(shell find stgit -name '*.py') stgit/commands/cmdlist.py: $(ALL_PY) $(PYTHON) stg-build --py-cmd-list > $@ +stgit-completion.bash: $(ALL_PY) + $(PYTHON) stg-build --bash-completion > $@ + install: build $(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR) --force