diff options
author | Phil Sutter <phil@nwl.cc> | 2019-11-07 12:38:57 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2019-11-19 01:04:29 +0100 |
commit | a257ee33ab4fd4aa6f80acf6d5d9feecef4fc083 (patch) | |
tree | 2f248b75c0f874b04f87d37e3a600e8e96453fab | |
parent | 4a382ec54a8c09df1a625ddc7d32fc06257c596d (diff) |
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 <phil@nwl.cc>
Acked-by: Arturo Borrero Gonzalez <arturo@netfilter.org>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | files/Makefile.am | 1 | ||||
-rw-r--r-- | files/examples/Makefile.am | 4 |
3 files changed, 6 insertions, 0 deletions
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 |