From 8d53772aeaede4b6d9479373c936cc2e09e711fb Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Tue, 26 Aug 2025 19:05:17 +0200 Subject: [PATCH] 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 Reviewed-by: Pablo Neira Ayuso --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.47.3