File: rules

package info (click to toggle)
rickslab-gpu-utils 3.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,116 kB
  • sloc: python: 4,849; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 463 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export PYBUILD_NAME=gpumodules

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

override_dh_auto_install:
	dh_auto_install
	mv debian/python3-gpumodules/usr/bin debian/rickslab-gpu-utils/usr
	mv debian/python3-gpumodules/usr/share/man debian/rickslab-gpu-utils/usr/share
	rm -rf debian/python3-gpumodules/usr/share/rickslab-gpu-utils

override_dh_auto_clean:
	dh_clean
	rm -rf build .pybuild GPUmodules/__pycache__ rickslab_gpu_utils.egg-info