diff options
author | Phil Sutter <phil@nwl.cc> | 2018-09-14 11:00:23 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-09-18 00:21:19 +0200 |
commit | 3bacae9e4a1e34eb09503c5bb8c45b418b6c38b5 (patch) | |
tree | c0135d2a161e049e064ec47ad58aa49b8b5ecbe2 /doc/stateful-objects.txt | |
parent | d75e9184bb51a1311ac950b13384f329836d597e (diff) |
doc: Review man page building in Makefile.am
Previously, changes to any of the included adoc snippets in nft.txt were
not detected and hence the man page not updated (unless 'make clean' was
called). It seems like the '.txt.8' target only considers foo.txt when
trying to generate foo.8, so get rid of that and introduce a dedicated
target for nft.8.
While doing so, apply a few other minor changes:
* Although nft.8 target has to list all included adoc snippets as a
dependency, it is sufficient to call a2x with the main one (i.e.,
nft.txt) only.
* Keep common a2x parameters in a variable.
* Use ${A2X} everywhere and hide all calls behind ${AM_V_GEN}, not just
the one for nft.8.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc/stateful-objects.txt')
0 files changed, 0 insertions, 0 deletions