File: rules

package info (click to toggle)
django-haystack 2.8.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,212 kB
  • sloc: python: 15,512; xml: 1,708; makefile: 71; sh: 45
file content (13 lines) | stat: -rwxr-xr-x 438 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f
export PYBUILD_NAME=django-haystack
# Require a live solr server. If done, should be in autopkgtest
export PYBUILD_DISABLE=test

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

override_dh_sphinxdoc:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
	PYTHONPATH=. python3 -m sphinx -b html -N docs/ $(CURDIR)/debian/python-django-haystack-doc/usr/share/doc/python-django-haystack-doc/html
	dh_sphinxdoc
endif