| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | |
| 5 | %: |
| 6 | dh $@ |
| 7 | |
| 8 | # Don't install duplicate copyright info from COPYING files |
| 9 | # Make examples which happen to start with #! executable |
| 10 | |
| 11 | override_dh_auto_install: |
| 12 | dh_auto_install --buildsystem=meson && (find debian/nickle -name COPYING -print0 | xargs -0 rm) |
| 13 | find debian/nickle/usr/share/nickle -type f -print0 | xargs -0 grep -l '^#!.*nickle' | xargs -d '\n' chmod +x |