File: rules

package info (click to toggle)
python-pyramid-retry 2.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 216 kB
  • sloc: python: 532; makefile: 156
file content (19 lines) | stat: -rwxr-xr-x 419 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

#export DH_VERBOSE = 1

export PYBUILD_NAME=pyramid-retry

%:
ifneq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	echo -e "\nnodoc profile enabled, building without sphinxdoc..\n"
	dh $@ --buildsystem=pybuild
else
	dh $@ --with=sphinxdoc --buildsystem=pybuild
endif

override_dh_auto_build:
	dh_auto_build
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	PYTHONPATH=$(CURDIR)/src $(MAKE) -C docs html
endif