2019-12-17 16:29:17 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
2021-11-20 14:27:50 +00:00
|
|
|
# output every command that modifies files on the build system.
|
|
|
|
#export DH_VERBOSE = 1
|
2019-12-17 16:29:17 +00:00
|
|
|
include /usr/share/dpkg/pkg-info.mk
|
|
|
|
export DEB_VERSION_UPSTREAM
|
|
|
|
|
|
|
|
%:
|
|
|
|
dh $@ --with dkms
|
|
|
|
|
|
|
|
override_dh_dkms:
|
|
|
|
dh_dkms -V $(DEB_VERSION_UPSTREAM) -- dkms.conf
|
|
|
|
|
|
|
|
override_dh_fixperms:
|
|
|
|
dh_fixperms
|
|
|
|
find debian/realtek-rtl8188eus-dkms/usr/src -type f -exec chmod -x {} \;
|
|
|
|
|
2022-06-21 10:08:35 +00:00
|
|
|
execute_after_dh_install:
|
|
|
|
sed -i dkms.conf -e 's%^PACKAGE_VERSION=.*%PACKAGE_VERSION="$(DEB_VERSION_UPSTREAM)"%'
|
|
|
|
|
2019-12-17 16:29:17 +00:00
|
|
|
# Nothing to configure, build or auto-install (all is done after
|
|
|
|
# installation using dkms)
|
|
|
|
override_dh_auto_configure:
|
|
|
|
override_dh_auto_build:
|
|
|
|
override_dh_auto_install:
|