From a257ee33ab4fd4aa6f80acf6d5d9feecef4fc083 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 7 Nov 2019 12:38:57 +0100 Subject: 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 --- configure.ac | 1 + files/Makefile.am | 1 + files/examples/Makefile.am | 4 ++++ 3 files changed, 6 insertions(+) create mode 100644 files/examples/Makefile.am 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 -- cgit v1.2.3