File: rules

package info (click to toggle)
ecmwflibs 2%3A0.6.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 388 kB
  • sloc: python: 720; sh: 536; cpp: 30; ansic: 16; makefile: 10
file content (19 lines) | stat: -rwxr-xr-x 436 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

export PYBUILD_NAME=ecmwflibs

# magic debhelper rule
%:
	dh $@ --buildsystem=pybuild

override_dh_auto_clean:
	rm -rf *.egg-info .eggs .pybuild build
	# clean up files we don't want to include
	-find . -name .gitignore -exec rm {} \;

override_dh_fixperms:
	dh_fixperms
	chrpath -d debian/python3-ecmwflibs/usr/lib/python3/dist-packages/ecmwflibs/_*so