File: rules

package info (click to toggle)
ecmwflibs 2%3A0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 332 kB
  • sloc: python: 676; sh: 426; cpp: 30; ansic: 16; makefile: 10
file content (19 lines) | stat: -rwxr-xr-x 431 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
	# 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