File: rules

package info (click to toggle)
pymia 0.1.6-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 164 kB
  • ctags: 92
  • sloc: cpp: 558; python: 42; makefile: 15
file content (28 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
20
21
22
23
24
25
26
27
28
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

export PYBUILD_NAME=mia

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


override_dh_auto_install:
	dh_auto_install 
	dh_numpy
	dh_numpy3



override_dh_strip:
ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
	dh_strip -ppython-mia --dbg-package=python-mia-dbg
	dh_strip -ppython3-mia --dbg-package=python3-mia-dbg
endif


override_dh_auto_clean:
	rm -rf build .pybuild