debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | %: |
| 4 | dh $@ |
| 5 | |
| 6 | # Install as private library, to be multiarch-friendly. |
| 7 | override_dh_auto_configure: |
| 8 | dh_auto_configure -- LIB=/usr/share/licensecheck |
| 9 | |
| 10 | override_dh_auto_test: |
| 11 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 12 | chmod +x bin/licensecheck |
| 13 | LC_ALL=C.UTF-8 dh_auto_test |
| 14 | endif |