debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # Uncomment this to turn on verbose mode. |
| 4 | #export DH_VERBOSE=1 |
| 5 | |
| 6 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 7 | |
| 8 | %: |
| 9 | dh $@ |
| 10 | |
| 11 | override_dh_auto_configure: |
| 12 | dh_auto_configure |
| 13 | sed -e 's/-lnsl//g' -i Makefile |
| 14 | |
| 15 | override_dh_auto_install: |
| 16 | install -m0755 $(CURDIR)/debian/autossh_wrapper \ |
| 17 | $(CURDIR)/debian/autossh/usr/bin/autossh |