| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # Uncomment this to turn on verbose mode. |
| 4 | #export DH_VERBOSE=1 |
| 5 | |
| 6 | export DEB_CFLAGS_MAINT_APPEND = -std=gnu17 |
| 7 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 8 | |
| 9 | %: |
| 10 | dh $@ --with autoreconf |
| 11 | |
| 12 | execute_before_dh_auto_configure: |
| 13 | cp -v -r scripts/* ./ |
| 14 | |
| 15 | override_dh_auto_install: |
| 16 | dh_auto_install |
| 17 | sed -i -e "s,/usr/bin/wish,$(shell readlink -f /usr/bin/wish)," debian/irsim/usr/bin/irsim |