]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
Makefile: mkdir $(builddir}/doc
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>
Thu, 7 Mar 2024 23:42:50 +0000 (00:42 +0100)
committerPhil Sutter <phil@nwl.cc>
Fri, 8 Mar 2024 11:44:08 +0000 (12:44 +0100)
When building separately from the source tree (as in ../src/configure),
the 'doc' dir is not present from just the source tree. Create the dir
before calling a2x.

Signed-off-by: Neels Hofmeyr <nhofmeyr@sysmocom.de>
Signed-off-by: Phil Sutter <phil@nwl.cc>
Makefile.am

index 688a984990d95d329f7876e14fb1c18da3295e7b..fef1d8d1632171e3fe2c852cb569ba9d7c87deee 100644 (file)
@@ -342,6 +342,7 @@ EXTRA_DIST += \
 CLEANFILES += doc/*~
 
 doc/nft.8: $(ASCIIDOCS)
+       mkdir -p ${builddir}/doc
        $(AM_V_GEN)$(A2X) $(A2X_OPTS_MANPAGE) $<
 
 .adoc.3: