| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # export DH_VERBOSE = 1 |
| 4 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 5 | |
| 6 | %: |
| 7 | dh $@ |
| 8 | |
| 9 | override_dh_auto_install: |
| 10 | dh_auto_install --destdir debian/tmp |
| 11 | |
| 12 | # Fails with "dwz: Section overlap detected" |
| 13 | # Like other guile libraries |
| 14 | # for instance see guile-gnutls/debian/rules |
| 15 | override_dh_dwz: |
| 16 | dh_dwz $(BDIR) -Xcurl.go |
| 17 | |
| 18 | override_dh_clean: |
| 19 | dh_clean |
| 20 | # remove generated docs and build artefacts left between builds |
| 21 | rm -vf doc/guile-curl.info doc/stamp-vti doc/version.texi \ |
| 22 | module/curl.go check_type *.log test/*.trs test/*.log || true |