21 lines
565 B
Makefile
Executable file
21 lines
565 B
Makefile
Executable file
#!/usr/bin/make -f
|
|
|
|
%:
|
|
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
|
|
rm -f debian/tmp/usr/share/doc/dnscap/CONTRIBUTORS
|
|
rm -f debian/tmp/usr/share/doc/dnscap/LICENSE
|
|
rm -f debian/tmp/usr/share/doc/dnscap/README.md
|