]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
Makefile: Fix for 'make distcheck'
authorPhil Sutter <phil@nwl.cc>
Tue, 26 Aug 2025 17:05:17 +0000 (19:05 +0200)
committerPhil Sutter <phil@nwl.cc>
Tue, 26 Aug 2025 21:05:48 +0000 (23:05 +0200)
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>
Makefile.am

index 4909abfeed560d84beef48be3b20deb1ccc9c8df..e292d3b93d1024459dd364e05561f75098c498f7 100644 (file)
@@ -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