File: rules

package info (click to toggle)
vedo 2020.4.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 15,676 kB
  • sloc: python: 26,193; xml: 437; sh: 199; makefile: 21
file content (19 lines) | stat: -rwxr-xr-x 511 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
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export PYBUILD_NAME=vedo

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

override_dh_auto_install:
	dh_auto_install
	rm -rf debian/python3-vedo/usr/lib/python*/dist-packages/vedo/examples

override_dh_python3:
	dh_python3
	for dir in textures; do \
	  mv debian/python3-vedo/usr/lib/python3/dist-packages/vedo/$$dir/ debian/python3-vedo/usr/share/vedo/; \
	done