debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | |
| 4 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 5 | |
| 6 | ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) |
| 7 | CONFIGURE_OPTS += "CONFIG+=no_tests" |
| 8 | endif |
| 9 | |
| 10 | %: |
| 11 | dh $@ |
| 12 | |
| 13 | override_dh_auto_configure: |
| 14 | dh_auto_configure -- \ |
| 15 | $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),"CONFIG+=no_tests",) |
| 16 | |
| 17 | get-orig-source: |
| 18 | uscan --noconf --force-download --rename --download-current-version --destdir=.. |