aboutgitcodebugslistschat
path: root/contrib/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/debian/rules')
-rwxr-xr-xcontrib/debian/rules12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/debian/rules b/contrib/debian/rules
new file mode 100755
index 0000000..a926d32
--- /dev/null
+++ b/contrib/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+override_dh_auto_install:
+ dh_auto_install -- prefix=/usr
+ mkdir -p debian/passt/etc/apparmor.d/
+ cp contrib/apparmor/usr.bin.passt debian/passt/etc/apparmor.d/usr.bin.passt
+ dh_apparmor --profile-name=usr.bin.passt -ppasst
+ cp contrib/apparmor/usr.bin.pasta debian/passt/etc/apparmor.d/usr.bin.pasta
+ dh_apparmor --profile-name=usr.bin.pasta -ppasst
+
+%:
+ dh $@