| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
# output every command that modifies files on the build system. |
| 4 |
#DH_VERBOSE = 1 |
| 5 |
|
| 6 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 7 |
|
| 8 |
%: |
| 9 |
dh $@ |
| 10 |
|
| 11 |
override_dh_auto_configure: |
| 12 |
dh_auto_configure -- -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON |
| 13 |
|
| 14 |
override_dh_auto_build: |
| 15 |
dh_auto_build |
| 16 |
cd doc && asciidoctor -a stylesheet=manual.css manual.adoc |
| 17 |
|
| 18 |
override_dh_makeshlibs: |
| 19 |
# do not call ldconfig in postinst/postrm |
| 20 |
dh_makeshlibs --noscripts |
| 21 |
|
| 22 |
override_dh_install: |
| 23 |
dh_install -X.gitignore |
| 24 |
|
| 25 |
override_dh_missing: |
| 26 |
dh_missing --fail-missing |
| 27 |
|
| 28 |
# not enough memory on those buildds to run dwz: |
| 29 |
ifneq (,$(filter $(DEB_HOST_ARCH),mipsel sh4)) |
| 30 |
override_dh_dwz: |
| 31 |
true |
| 32 |
endif |