File: rules

package info (click to toggle)
pytorch-audio 2.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 108,884 kB
  • sloc: python: 44,403; cpp: 3,384; sh: 126; makefile: 32
file content (22 lines) | stat: -rwxr-xr-x 486 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ -Spybuild --with python3

override_dh_auto_clean:
	-dh_auto_clean

execute_after_dh_clean:
	-$(RM) -vf src/torchaudio/version.py
	-$(RM) -r build/ torchaudio.egg-info/ .pybuild/

#execute_after_dh_install:
	#find . -name *_torchaudio.so* -exec \
	#	patchelf --replace-needed libtorchaudio.so lib/libtorchaudio.so {} \;

override_dh_python3:
	dh_python3 --no-ext-rename

override_dh_auto_test:
	-dh_auto_test