debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | |
| 5 | %: |
| 6 | dh $@ |
| 7 | |
| 8 | ifeq ($(DEB_HOST_ARCH_OS),linux) |
| 9 | EXTRACONF:=--with-cryptsetup |
| 10 | else |
| 11 | EXTRACONF:=--without-cryptsetup |
| 12 | endif |
| 13 | |
| 14 | override_dh_auto_configure: |
| 15 | dh_auto_configure -- --with-slibdir=/usr/lib/$(DEB_HOST_MULTIARCH) --with-selinux --with-dtd $(EXTRACONF) |
| 16 | |
| 17 | override_dh_installchangelogs: |
| 18 | dh_installchangelogs doc/news.rst |