File: rules

package info (click to toggle)
pymia 0.1.9-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 156 kB
  • sloc: cpp: 558; python: 48; makefile: 13
file content (22 lines) | stat: -rwxr-xr-x 413 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
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -Wl,-z,now

export PYBUILD_NAME=mia

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


override_dh_auto_install:
	dh_auto_install 
	dh_numpy3

override_dh_strip:
ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
	dh_strip --dbgsym-migration='python3-mia-dbg (<< 0.1.7-3)' 
endif

override_dh_auto_clean:
	rm -rf build .pybuild