#!/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=vtkplotter

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

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

override_dh_fixperms:
	dh_fixperms
	chmod a-x debian/python3-vtkplotter/usr/share/vtkplotter/data/limb_ugrid.vtk
