1
0
Fork 0
dnswire/debian/rules
Daniel Baumann ec29864a30
Recursively removing src/dnstap.pb (Closes: #1005263).
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-09 06:31:40 +01:00

17 lines
386 B
Makefile
Executable file

#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh ${@}
execute_after_dh_auto_clean:
rm -rf src/dnstap.pb
execute_after_dh_auto_configure:
ln -s /usr/share/gocode/src/github.com/dnstap/golang-dnstap/dnstap.pb src/dnstap.pb
execute_after_dh_auto_install:
# removing unused files
rm -f debian/tmp/usr/lib/*/*.la
rm -f debian/tmp/usr/share/doc/*/README.md