debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | |
| 5 | %: |
| 6 | dh $@ --builddirectory=build |
| 7 | |
| 8 | override_dh_auto_configure: |
| 9 | dh_auto_configure -- -DUNIT_TESTING=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)),0,1) |
| 10 | |
| 11 | execute_after_dh_clean: |
| 12 | rm -fv compile_commands.json |
| 13 | |
| 14 | execute_after_dh_auto_build: |
| 15 | asciidoctor -b manpage doc/nss_wrapper.1.adoc |
| 16 | |
| 17 | execute_after_dh_install: |
| 18 | dh_install |
| 19 | rm -rv debian/*-wrapper/usr/bin/ |