| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
#export DH_VERBOSE=1 |
| 4 |
|
| 5 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ |
| 9 |
|
| 10 |
override_dh_auto_configure: |
| 11 |
dh_auto_configure -- --enable-apparmor --enable-selinux --enable-contrib-install=no |
| 12 |
|
| 13 |
override_dh_fixperms-arch: |
| 14 |
dh_fixperms -Xfshaper.sh -Xfcopy -Xfldd -Xfnet -Xfnetfilter -Xfsec-optimize -Xfsec-print -Xfseccomp |
| 15 |
chmod 4755 debian/firejail/usr/bin/firejail |
| 16 |
|
| 17 |
override_dh_installchangelogs: |
| 18 |
dh_installchangelogs RELNOTES |
| 19 |
|
| 20 |
override_dh_installdocs: |
| 21 |
dh_installdocs -Xupdate_deb.sh |
| 22 |
|
| 23 |
override_dh_auto_install: |
| 24 |
dh_auto_install |
| 25 |
# documentation will be installed by debhelper |
| 26 |
rm --verbose -rf debian/tmp/usr/share/doc/firejail |
| 27 |
|
| 28 |
override_dh_install: |
| 29 |
dh_install -pfirejail |
| 30 |
dh_install -pfirejail-profiles -Xdefault.profile -Xserver.profile |
| 31 |
dh_apparmor -pfirejail --profile-name=firejail-default |
| 32 |
|
| 33 |
override_dh_missing: |
| 34 |
dh_missing -pfirejail --fail-missing |
| 35 |
dh_missing -pfirejail-profiles --fail-missing -Xdefault.profile -Xserver.profile |
| 36 |
|
| 37 |
override_dh_auto_test: |
| 38 |
# skip tests here as they are run as autopkgtest |
| 39 |
|
| 40 |
override_dh_compress: |
| 41 |
dh_compress -Xsyscalls.txt -Xprofile.template -Xcontrib |