File: rules

package info (click to toggle)
ont-fast5-api 4.0.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 3,548 kB
  • sloc: python: 3,761; makefile: 153; sh: 13
file content (21 lines) | stat: -rwxr-xr-x 506 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
#!/usr/bin/make -f

# DH_VERBOSE := 1

export PYBUILD_NAME=ont_fast5_api

export PYBUILD_BEFORE_TEST=cp -av {dir}/test/data {build_dir}/test

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

execute_before_dh_auto_configure:
	mkdir -p $(CURDIR)/ont_fast5_api/vbz_plugin
	ln -s /usr/lib/$(DEB_HOST_MULTIARCH)/libvbz_hdf_plugin.so $(CURDIR)/ont_fast5_api/vbz_plugin/libvbz_hdf_plugin.so

override_dh_dwz:
	dh_dwz || true

override_dh_fixperms:
	dh_fixperms
	find debian -name "*.fast5" -exec chmod -x \{\} \;