]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
include/Makefile: xtables-version.h is generated
authorPhil Sutter <phil@nwl.cc>
Wed, 7 Dec 2022 16:23:12 +0000 (17:23 +0100)
committerPhil Sutter <phil@nwl.cc>
Wed, 14 Dec 2022 14:47:18 +0000 (15:47 +0100)
List it in nodist_include_HEADERS so it is installed but not
distributed - configure generates it from xtables-version.h.in.

While being at it, list xtables.h in plain include_HEADERS. It doesn't
sit in a sub-dir, so the nobase prefix does not make a difference.

Fixes: df60a301bf24c ("build: separate AC variable replacements from xtables.h")
Signed-off-by: Phil Sutter <phil@nwl.cc>
include/Makefile.am

index 348488a45ce84bde51b57e2a403a05a5f8aea16e..07c88b901e80869c174838eb38857c937257e8d0 100644 (file)
@@ -1,13 +1,13 @@
 # -*- Makefile -*-
 
-include_HEADERS =
-nobase_include_HEADERS = xtables.h xtables-version.h
+include_HEADERS = xtables.h
+nodist_include_HEADERS = xtables-version.h
 
 if ENABLE_LIBIPQ
 include_HEADERS += libipq/libipq.h
 endif
 
-nobase_include_HEADERS += \
+nobase_include_HEADERS = \
        libiptc/ipt_kernel_headers.h libiptc/libiptc.h \
        libiptc/libip6tc.h libiptc/libxtc.h libiptc/xtcshared.h