From 0c0230ce7ece2deae44d6a238d5d1c8e1a073dd8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 14 Jan 2022 18:45:33 +0100 Subject: Adding debian version 0.2.0-1. Signed-off-by: Daniel Baumann --- debian/rules | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 debian/rules (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..1015993 --- /dev/null +++ b/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +%: + dh ${@} + +execute_after_dh_auto_clean: + rm -f 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 -- cgit v1.2.3