[go: up one dir, main page]

File: rules

package info (click to toggle)
tombo 1.5.1-7
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 25,140 kB
  • sloc: python: 12,433; sh: 613; makefile: 16
file content (26 lines) | stat: -rwxr-xr-x 596 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f

# DH_VERBOSE := 1

export http_proxy='127.0.0.1:9'
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

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

execute_after_dh_auto_clean:
	rm -f tombo/_c_dynamic_programming.cpp tombo/_c_helper.cpp

execute_after_dh_fixperms:
	find debian -name "*.model" -exec chmod -x {} \;
	find debian -name "shell_tests.sh" -type f -executable -exec chmod -x {} \+

execute_after_dh_auto_build:
	sphinx-build -N -bhtml docs docs/build

execute_after_dh_install:
	rm -f docs/tombo.rst
	rm -rf docs/build

execute_after_dh_python3:
	dh_numpy3