diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-03-19 12:58:41 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-03-19 13:17:13 -0400 |
commit | fe9756d3ab2e4a1efb98418e2a90e7ec7763eab1 (patch) | |
tree | d9aaa942632c34db9e625d758c9a1eb1c7f26ca3 | |
parent | 3f9386a4359219991dba3fd5f770f348270e178b (diff) | |
download | python-systemd-fe9756d3ab2e4a1efb98418e2a90e7ec7763eab1.tar.gz |
Makefile: add convenience "shell" target to start python shell
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -70,4 +70,8 @@ upload: dist/systemd-python-$(VERSION).tar.gz dist/systemd-python-$(VERSION).tar TAGS: $(shell git ls-files systemd/*.[ch]) $(ETAGS) $+ -.PHONY: build install dist sign upload clean distclean TAGS doc doc-sync +shell: +# we change the directory because python insists on adding $CWD to path + (cd $(builddir) && $(PYTHON)) + +.PHONY: build install dist sign upload clean distclean TAGS doc doc-sync shell |