realtek-rtl8188eus-dkms/debian/rules

22 lines
549 B
Plaintext
Raw Permalink Normal View History

2019-12-17 16:29:17 +00:00
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
export DEB_VERSION_UPSTREAM
%:
2022-08-25 15:58:22 +00:00
dh $@
2019-12-17 16:29:17 +00:00
override_dh_dkms:
# Force PACKAGE_VERSION to be DEB_VERSION_UPSTREAM
sed -i dkms.conf -e 's%^PACKAGE_VERSION=.*%PACKAGE_VERSION="$(DEB_VERSION_UPSTREAM)"%'
dh_dkms -- dkms.conf
2019-12-17 16:29:17 +00:00
execute_after_dh_fixperms:
2019-12-17 16:29:17 +00:00
find debian/realtek-rtl8188eus-dkms/usr/src -type f -exec chmod -x {} \;
# 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: