diff options
-rwxr-xr-x | debian/rules | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 025863b..6ce45aa 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,16 @@ %: dh ${@} +execute_after_dh_auto_clean: + # remove generated files + rm -f plugins/*/dns.pcap-dist plugins/*/dns6.pcap-dist + rm -f src/test/*.out + rm -f src/test/frags.gold + for file in $$(find . -type f -name "*.in"); \ + do \ + rm -f "$$(dirname "$${file}")"/"$$(basename "$${file}" .in)"; \ + done + execute_after_dh_auto_install: # Removing useless files rm -f debian/tmp/usr/lib/*/dnscap/*.la |