Debian: improve install method.

This commit is contained in:
Alexandre Pujol 2021-09-27 20:24:22 +01:00
parent 8e9ccc3bf7
commit c96c641d80
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 4 additions and 3 deletions

5
debian/rules vendored
View file

@ -12,6 +12,7 @@ override_dh_auto_configure:
./configure --distribution=debian
override_dh_install:
find systemd/ -type f -exec \
install -Dm0644 {} $$(pwd)/debian/apparmor.d/usr/lib/systemd/system/$(basename {})/apparmor.conf \;
mv systemd system
find system -type f -exec \
install -Dm0644 {} $$(pwd)/debian/apparmor.d/usr/lib/systemd/{}.d/apparmor.conf \;
dh_install