File: rules

package info (click to toggle)
slixmpp-omemo 2.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 328 kB
  • sloc: python: 1,104; makefile: 20
file content (15 lines) | stat: -rwxr-xr-x 479 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export PYBUILD_NAME = slixmpp-omemo

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

execute_after_dh_auto_build:
	PYTHONPATH=. http_proxy='127.0.0.1:9' make \
		   SPHINXBUILD=/usr/share/sphinx/scripts/python3/sphinx-build \
		   -C docs html

execute_after_dh_auto_install:
	rm -rf $(CURDIR)/debian/python3-slixmpp-omemo/usr/lib/python3.*/dist-packages/docs/ \
	    $(CURDIR)/debian/python3-slixmpp-omemo/usr/lib/python3.*/dist-packages/examples/