diff options
author | Giorgio Dal Molin <giorgio.nicole@arcor.de> | 2014-11-12 17:41:06 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-11-12 21:43:56 +0100 |
commit | 8fbb012f92ed491620b8f0ae312c8842aadffe06 (patch) | |
tree | 4f7c72953d5bb0529bda5cd68eff82a70d1f576a /files/nftables/Makefile.am | |
parent | c12d635ca3ef24345e37aca7bd2bb1aa280c0e34 (diff) |
build: add autotools support for the 'files' subdir
Added support to install some 'nft' scripts under
'${sysconfdir}/nftables', typically '/etc/nftables'.
Signed-off-by: Giorgio Dal Molin <giorgio.nicole@arcor.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'files/nftables/Makefile.am')
-rw-r--r-- | files/nftables/Makefile.am | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/files/nftables/Makefile.am b/files/nftables/Makefile.am new file mode 100644 index 00000000..1378e2b6 --- /dev/null +++ b/files/nftables/Makefile.am @@ -0,0 +1,13 @@ + +pkgsysconfdir = ${sysconfdir}/nftables +dist_pkgsysconf_DATA = bridge-filter \ + inet-filter \ + ipv4-filter \ + ipv4-mangle \ + ipv4-nat \ + ipv6-filter \ + ipv6-mangle \ + ipv6-nat + +install-data-hook: + ${SED} -i 's|@sbindir[@]|${sbindir}/|g' ${DESTDIR}${pkgsysconfdir}/* |