* [nft PATCH] build: remove scanner.c and parser_bison.c with `maintainer-clean`
@ 2021-12-16 16:37 Jeremy Sowden
2021-12-17 12:18 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Sowden @ 2021-12-16 16:37 UTC (permalink / raw)
To: Netfilter Devel
automake recommends shipping the output of bison and lex in distribution
tar-balls and runs bison and lex during `make dist` (this has the
advantage that end-users don't need to have bison or lex installed to
compile the software). Accordingly, automake also recommends removing
these files with `make maintainer-clean` and generates rules to do so.
Therefore, remove scanner.c and parser_bison.c from `CLEANFILES`.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
---
src/Makefile.am | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 01c12c81bce7..6ab0752337b2 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,8 +2,6 @@ include $(top_srcdir)/Make_global.am
sbin_PROGRAMS = nft
-CLEANFILES = scanner.c parser_bison.c
-
AM_CPPFLAGS = -I$(top_srcdir)/include
AM_CPPFLAGS += -DDEFAULT_INCLUDE_PATH="\"${sysconfdir}\"" \
${LIBMNL_CFLAGS} ${LIBNFTNL_CFLAGS}
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [nft PATCH] build: remove scanner.c and parser_bison.c with `maintainer-clean`
2021-12-16 16:37 [nft PATCH] build: remove scanner.c and parser_bison.c with `maintainer-clean` Jeremy Sowden
@ 2021-12-17 12:18 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2021-12-17 12:18 UTC (permalink / raw)
To: Jeremy Sowden; +Cc: Netfilter Devel
On Thu, Dec 16, 2021 at 04:37:20PM +0000, Jeremy Sowden wrote:
> automake recommends shipping the output of bison and lex in distribution
> tar-balls and runs bison and lex during `make dist` (this has the
> advantage that end-users don't need to have bison or lex installed to
> compile the software). Accordingly, automake also recommends removing
> these files with `make maintainer-clean` and generates rules to do so.
> Therefore, remove scanner.c and parser_bison.c from `CLEANFILES`.
Applied, thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-17 12:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-16 16:37 [nft PATCH] build: remove scanner.c and parser_bison.c with `maintainer-clean` Jeremy Sowden
2021-12-17 12:18 ` Pablo Neira Ayuso
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.