| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 |
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ --buildsystem=meson --without autoreconf |
| 8 |
|
| 9 |
override_dh_auto_configure: |
| 10 |
dh_auto_configure -- \ |
| 11 |
-Dmaintainer-mode=true \ |
| 12 |
-Dwarnings=max \ |
| 13 |
-Dbuild-documentation=true |
| 14 |
|
| 15 |
# https://lintian.debian.org/tags/useless-autogenerated-doxygen-file.html |
| 16 |
execute_after_dh_install-indep: |
| 17 |
dh_doxygen |
| 18 |
|
| 19 |
override_dh_installexamples: |
| 20 |
dh_installexamples -plibsigc++-2.0-doc examples/*.cc |
| 21 |
dh_installexamples --remaining-packages |
| 22 |
|
| 23 |
override_dh_compress: |
| 24 |
dh_compress -X.tag |