diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-08-07 11:38:21 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-08-07 11:49:56 -0400 |
commit | 40e08de1a632e81651d75b845134bc2ec43b297b (patch) | |
tree | 4803e5f41ec662fcff6882b7490222da5cdb838e /Makefile | |
parent | 71d82616a8ae7b6d60c9d202a4c79336a7697f63 (diff) | |
download | python-systemd-40e08de1a632e81651d75b845134bc2ec43b297b.tar.gz |
build-sys: add clean targets
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -25,9 +25,15 @@ install: dist: $(PYTHON) setup.py sdist +clean: + rm -rf build systemd/*.so systemd/*.py[co] *.py[co] systemd/__pycache__ + +distclean: clean + rm -rf dist MANIFEST systemd/id128-constants.h + SPHINXOPTS = -D version=$(VERSION) -D release=$(VERSION) sphinx-%: build PYTHONPATH=$(builddir) $(SPHINX_BUILD) -b $* $(SPHINXOPTS) docs build/docs @echo Output has been generated in build/docs -.PHONY: build install dist +.PHONY: build install dist clean distclean |