debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | # Setting the C dialect per '-std=gnu17' so that this code, abandoned upstream, |
| 5 | # still compiles with GCC-15. |
| 6 | export DEB_CFLAGS_MAINT_APPEND = -std=gnu17 -I/usr/include/tirpc/ |
| 7 | export DEB_LDFLAGS_MAINT_APPEND = -ltirpc |
| 8 | %: |
| 9 | dh $@ |
| 10 | |
| 11 | override_dh_auto_install: |
| 12 | # prefix is hardcoded in Makefile.in |
| 13 | dh_auto_install -- prefix=debian/dsniff/usr sbindir=debian/dsniff/usr/bin |