File: rules

package info (click to toggle)
cvxopt 1.3.2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,720 kB
  • sloc: ansic: 23,233; python: 10,414; makefile: 72; sh: 7
file content (30 lines) | stat: -rwxr-xr-x 698 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#! /usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

DH_VERBOSE := 1

export PYBUILD_NAME=cvxopt
export PYBUILD_TEST_ARGS=-s tests

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_clean:
	rm -rf doc/build

execute_after_dh_install:
	find debian/python*-cvxopt -name cvxopt -type d -empty -delete

override_dh_auto_build-indep:
	# $(pyrun) 'make --directory=doc html latex'
	make --directory=doc html latex
	make --directory=doc/build/latex all-pdf

override_dh_auto_test-indep:

execute_after_dh_fixperms-indep:
	find debian/python-$(PYBUILD_NAME)-doc/usr/share/doc/python*/examples -name "*.py" -exec chmod -x \{\} \;

override_dh_compress:
	dh_compress --exclude=.pdf