diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-01-14 17:45:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-01-15 07:35:54 +0000 |
commit | 0c0230ce7ece2deae44d6a238d5d1c8e1a073dd8 (patch) | |
tree | f9103d69e40c9c4dd42e1aab74f60b2f296bca72 /debian/rules | |
parent | Adding upstream version 0.2.0. (diff) | |
download | dnswire-0c0230ce7ece2deae44d6a238d5d1c8e1a073dd8.tar.xz dnswire-0c0230ce7ece2deae44d6a238d5d1c8e1a073dd8.zip |
Adding debian version 0.2.0-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 17 |
1 files changed, 17 insertions, 0 deletions
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 |