File: rules

package info (click to toggle)
sphinxcontrib-phpdomain 0.13.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 600 kB
  • sloc: python: 811; makefile: 153
file content (19 lines) | stat: -rwxr-xr-x 469 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 = sphinxcontrib.phpdomain

%:
	dh $@ --buildsystem=pybuild

ifeq ($(filter nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)),)
execute_before_dh_installdocs:
	cd doc && make text
endif

execute_after_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
	make -C test/unit clean
	PYTHONPATH=$(CURDIR) make -C test/unit html SPHINXOPTS='-W'
	make -C test/unit comparehtml
endif