netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Phil Sutter <phil@nwl.cc>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter-devel@vger.kernel.org
Subject: [nft PATCH] Makefile: Fix for 'make distcheck'
Date: Tue, 26 Aug 2025 19:06:43 +0200	[thread overview]
Message-ID: <20250826170643.3362-1-phil@nwl.cc> (raw)

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>
---
 Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 14915a58cdced..3345412991289 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
+
 AM_TESTS_ENVIRONMENT = RUN_FULL_TESTSUITE=1; export RUN_FULL_TESTSUITE;
 TESTS = tests/json_echo/run-test.py \
 	tests/monitor/run-tests.sh \
-- 
2.51.0


             reply	other threads:[~2025-08-26 17:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-26 17:06 Phil Sutter [this message]
2025-08-26 19:41 ` [nft PATCH] Makefile: Fix for 'make distcheck' Pablo Neira Ayuso
2025-08-27 12:22   ` Pablo Neira Ayuso
2025-08-27 12:40     ` Jan Engelhardt
2025-08-27 12:43       ` [PATCH] build: make `make distcheck` succeed in the face of absolute paths Jan Engelhardt
2025-08-27 12:57         ` Pablo Neira Ayuso
2025-08-27 21:40           ` Jan Engelhardt
2025-08-27 14:13         ` Phil Sutter
2025-08-26 21:07 ` [nft PATCH] Makefile: Fix for 'make distcheck' Phil Sutter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250826170643.3362-1-phil@nwl.cc \
    --to=phil@nwl.cc \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).