From: Jeremy Sowden Date: Thu, 16 Dec 2021 16:37:20 +0000 (+0000) Subject: build: remove scanner.c and parser_bison.c with `maintainer-clean` X-Git-Tag: v1.0.2~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3eaba1125798c7b8f2e8ad3d1a572de6b84f4e5a;p=thirdparty%2Fnftables.git build: remove scanner.c and parser_bison.c with `maintainer-clean` 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 Signed-off-by: Pablo Neira Ayuso --- diff --git a/src/Makefile.am b/src/Makefile.am index 01c12c81b..6ab075233 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}