summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2025-08-26 19:05:17 +0200
committerPhil Sutter <phil@nwl.cc>2025-08-26 23:05:48 +0200
commit8d53772aeaede4b6d9479373c936cc2e09e711fb (patch)
tree9e8f370ed161c2abbade2ba2e105964153525151 /Makefile.am
parent47e9aaf0227daf16f43a7442e1dceae8851817a5 (diff)
Makefile: Fix for 'make distcheck'
Make sure the files in tools/ are added to the tarball and that the created nftables.service file is removed upon 'make clean'. Fixes: c4b17cf830510 ("tools: add a systemd unit for static rulesets") Signed-off-by: Phil Sutter <phil@nwl.cc> Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 4909abfe..e292d3b9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -409,8 +409,12 @@ EXTRA_DIST += \
EXTRA_DIST += \
files \
tests \
+ tools/nftables.service.8 \
+ tools/nftables.service.in \
$(NULL)
+CLEANFILES += tools/nftables.service
+
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libnftables.pc
unit_DATA = tools/nftables.service