File: rules

package info (click to toggle)
python-maxminddb 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,972 kB
  • sloc: python: 1,333; ansic: 638; perl: 555; makefile: 132; sh: 57
file content (12 lines) | stat: -rwxr-xr-x 327 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export PYBUILD_NAME=maxminddb

%:
	dh $@ --buildsystem=pybuild

ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
execute_before_dh_auto_build:
	PYTHONPATH=.:$$PYTHONPATH sphinx-build -b html -d .build/.doctrees -N docs .build/html
endif