Skip to content
Snippets Groups Projects
Commit e697668b authored by Andrew Lee (李健秋)'s avatar Andrew Lee (李健秋)
Browse files

Call dh_apparmor in debian/rules


This dh_apparmor is a debhelper program that will generate apparmor
profile reload scripts.

Here we call dh_apparmor in debian/rules to generate apparmor profile
reload script for each profile that ship in the binary packages.

Signed-off-by: default avatarAndrew Lee (李健秋) <andrew.lee@collabora.co.uk>
parent 4ea5fa95
No related branches found
No related tags found
1 merge request!6Add dh apparmor support
......@@ -24,6 +24,16 @@ override_dh_auto_test:
override_dh_install:
rm -f debian/tmp/usr/lib/*/*.la
dh_install --fail-missing
dh_apparmor -plibtraprain-0-tests \
--profile-name=usr.lib.installed-tests.traprain.test-mock-service
dh_apparmor -ptraprain-guidance-ui \
--profile-name=usr.bin.traprain-guidance-ui
dh_apparmor -ptraprain-mock-service \
--profile-name=usr.bin.traprain-mock-service
dh_apparmor -ptraprain-send-turn-by-turn \
--profile-name=usr.bin.traprain-send-turn-by-turn
dh_apparmor -ptraprain-update-progress \
--profile-name=usr.bin.traprain-update-progress
# If this is a release, do extra checks
ifeq ($(filter UNRELEASED,$(DEB_DISTRIBUTION)),)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment