File: Makefile

package info (click to toggle)
python-cliff 2.13.0-1~bpo9+2
  • links: PTS, VCS
  • area: main
  • in suites: stretch-backports
  • size: 592 kB
  • sloc: python: 4,389; makefile: 169; sh: 13
file content (21 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
help:
	@echo "release - package and upload a release"
	@echo "sdist   - package"
	@echo "docs    - generate HTML documentation"
	@echo "clean   - remove build artifacts"

release: docs
	rm -rf dist build
	python setup.py sdist upload

sdist: docs
	python setup.py sdist
	ls -l dist

clean:
	rm -rf dist build *.egg-info
	(cd doc && make clean)

.PHONY: docs
docs:
	(cd doc && make clean html)