#!/usr/bin/make -f

%:
	dh $@

# Skip shared library dependency calculation for private libraries in the 'lib' directory.
# This prevents the build system from attempting to automatically generate 
# dependencies for the bundled AI-related .so files.
override_dh_shlibdeps:
	dh_shlibdeps -Xlib

# Skip DWZ optimization (this frequently fails with complex Python binary extensions).
override_dh_dwz:
	:

# Skip stripping debug symbols from files in the 'lib' folder.
# This is essential to prevent corruption of the pre-compiled AI engine 
# binaries, such as onnxruntime or ctranslate2.
override_dh_strip:
	dh_strip -Xlib
