Files
profiled/debian/rules
T
2026-04-20 09:09:23 -07:00

29 lines
1023 B
Makefile
Executable File

#!/usr/bin/make -f
export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --buildsystem=cmake --builddirectory=obj-$(DEB_HOST_GNU_TYPE)
override_dh_auto_configure:
dh_auto_configure -- \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DCMAKE_INSTALL_LOCALSTATEDIR=/var
override_dh_auto_install:
dh_auto_install
install -Dm 0644 dbus/me.oxmc.vesperos.ProfileService.conf \
debian/vesperprofiled/etc/dbus-1/system.d/me.oxmc.vesperos.ProfileService.conf
install -Dm 0644 apparmor/vesperprofiled \
debian/vesperprofiled/etc/apparmor.d/vesperprofiled
install -d -m 0755 debian/vesperprofiled/etc/vesperprofiled
install -d -m 0755 debian/vesperprofiled/etc/vesperprofiled/preinstalled
install -d -m 0700 debian/vesperprofiled/var/lib/vesperprofiled/profiles
install -Dm 0640 zte.conf.example \
debian/vesperprofiled/etc/vesperprofiled/zte.conf.example
override_dh_installsystemd:
dh_installsystemd --name=vesperprofiled --no-start