aboutsummaryrefslogtreecommitdiff
blob: 1d48fcb277489a727353aa68cd823c414343a38b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
PYTHON ?= python
SPHINX_BUILD ?= $(PYTHON) -m sphinx.cmd.build

.PHONY: man html
man html:
	$(SPHINX_BUILD) -a -b $@ doc build/sphinx/$@

.PHONY: sdist wheel
sdist wheel:
	$(PYTHON) -m build --$@

.PHONY: clean
clean:
	$(RM) -r build doc/man/pkgcheck doc/generated dist

.PHONY: format
format:
	$(PYTHON) -m black .