]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
build: remove scanner.c and parser_bison.c with `maintainer-clean`
authorJeremy Sowden <jeremy@azazel.net>
Thu, 16 Dec 2021 16:37:20 +0000 (16:37 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 17 Dec 2021 12:15:33 +0000 (13:15 +0100)
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>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/Makefile.am

index 01c12c81bce752891c22b1830195a2dcf13b5084..6ab0752337b28cd25d59426ffbe4ed29f29e3475 100644 (file)
@@ -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}