debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # DH_VERBOSE := 1 |
| 4 | export LC_ALL=C.UTF-8 |
| 5 | |
| 6 | include /usr/share/dpkg/default.mk |
| 7 | |
| 8 | # for hardening you might like to uncomment this: |
| 9 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 10 | |
| 11 | %: |
| 12 | dh $@ |
| 13 | |
| 14 | override_dh_auto_configure: |
| 15 | dh_auto_configure -- -DBUILD_TESTS=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),OFF,ON) |
| 16 | |
| 17 | override_dh_auto_install: |
| 18 | dh_install obj-$(DEB_HOST_GNU_TYPE)/assembly-stats usr/bin |