From: Phil Sutter Date: Thu, 7 Nov 2019 11:38:57 +0000 (+0100) Subject: files: Install sample scripts from files/examples X-Git-Tag: v0.9.3~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a257ee33ab4fd4aa6f80acf6d5d9feecef4fc083;p=thirdparty%2Fnftables.git files: Install sample scripts from files/examples Assuming these are still relevant and useful as a source of inspiration, install them into DATAROOTDIR/doc/nftables/examples. Signed-off-by: Phil Sutter Acked-by: Arturo Borrero Gonzalez Acked-by: Pablo Neira Ayuso --- diff --git a/configure.ac b/configure.ac index 170b6093..3a512e02 100644 --- a/configure.ac +++ b/configure.ac @@ -137,6 +137,7 @@ AC_CONFIG_FILES([ \ include/linux/netfilter_ipv4/Makefile \ include/linux/netfilter_ipv6/Makefile \ files/Makefile \ + files/examples/Makefile \ files/nftables/Makefile \ files/osf/Makefile \ doc/Makefile \ diff --git a/files/Makefile.am b/files/Makefile.am index 4f41b664..7deec151 100644 --- a/files/Makefile.am +++ b/files/Makefile.am @@ -1,2 +1,3 @@ SUBDIRS = nftables \ + examples \ osf diff --git a/files/examples/Makefile.am b/files/examples/Makefile.am new file mode 100644 index 00000000..c40e041e --- /dev/null +++ b/files/examples/Makefile.am @@ -0,0 +1,4 @@ +pkgdocdir = ${docdir}/examples +dist_pkgdoc_SCRIPTS = ct_helpers.nft \ + load_balancing.nft \ + sets_and_maps.nft