File: rules

package info (click to toggle)
python-elasticsearch 9.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,568 kB
  • sloc: python: 108,748; makefile: 151; javascript: 97
file content (18 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
16
17
18
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE := 1

export PYBUILD_NAME := elasticsearch
export PYBUILD_TEST_ARGS = {dir}/test_elasticsearch

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

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

execute_after_dh_sphinxdoc:
	# Remove duplicate license file
	$(RM) debian/python-elasticsearch-doc/usr/share/doc/python-elasticsearch-doc/html/_sources/api/license.rst.txt