Files
ofono/debian/rules
2025-10-17 04:19:21 +08:00

34 lines
871 B
Makefile
Executable File

#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
CONFIGURE_FLAGS := \
--enable-bluetooth \
--enable-dundee \
--enable-external-ell \
--with-systemdunitdir=/lib/systemd/system
%:
dh $@ --with=autoreconf
override_dh_auto_configure:
dh_auto_configure -- $(CONFIGURE_FLAGS)
override_dh_install:
install -D -m 0644 plugins/ofono.rules debian/tmp/lib/udev/rules.d/97-ofono.rules
install -D -m 0644 plugins/ofono-speedup.rules debian/tmp/lib/udev/rules.d/97-ofono-speedup.rules
dh_install
override_dh_fixperms-indep:
chmod 0755 debian/ofono-scripts/usr/share/ofono/scripts/set-sms-alphabet
chmod 0755 debian/ofono-scripts/usr/share/ofono/scripts/test-serving-cell-info
dh_fixperms
override_dh_installsystemd:
dh_installsystemd --name=ofono
dh_installsystemd --name=dundee
override_dh_auto_test:
dh_auto_test --no-parallel