File: rules

package info (click to toggle)
straight.plugin 1.4.1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 304 kB
  • sloc: python: 414; makefile: 132; sh: 8
file content (13 lines) | stat: -rwxr-xr-x 268 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export PYBUILD_NAME = straight.plugin
export PYBUILD_TEST_ARGS = {dir}/tests.py

%:
	dh $@  --with sphinxdoc --buildsystem=pybuild

execute_after_dh_clean:
	rm -rf docs/_build

execute_after_dh_auto_build:
	PYTHONPATH=../ $(MAKE) -C docs/ html man