]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
files: Install sample scripts from files/examples
authorPhil Sutter <phil@nwl.cc>
Thu, 7 Nov 2019 11:38:57 +0000 (12:38 +0100)
committerPhil Sutter <phil@nwl.cc>
Tue, 19 Nov 2019 00:04:29 +0000 (01:04 +0100)
Assuming these are still relevant and useful as a source of inspiration,
install them into DATAROOTDIR/doc/nftables/examples.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Arturo Borrero Gonzalez <arturo@netfilter.org>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
configure.ac
files/Makefile.am
files/examples/Makefile.am [new file with mode: 0644]

index 170b60932145866b9e792f0a3d3f8779da953bf0..3a512e0295dc9b6575b028f756035b5c768d6fa8 100644 (file)
@@ -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                            \
index 4f41b664e9db7d7e425314f94fb44b205c95eeb4..7deec15129772df4a13f56b39d6d4fe3f586bdbb 100644 (file)
@@ -1,2 +1,3 @@
 SUBDIRS =      nftables \
+               examples \
                osf
diff --git a/files/examples/Makefile.am b/files/examples/Makefile.am
new file mode 100644 (file)
index 0000000..c40e041
--- /dev/null
@@ -0,0 +1,4 @@
+pkgdocdir = ${docdir}/examples
+dist_pkgdoc_SCRIPTS = ct_helpers.nft \
+               load_balancing.nft \
+               sets_and_maps.nft