summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2024-03-08 00:42:50 +0100
committerPhil Sutter <phil@nwl.cc>2024-03-08 12:44:08 +0100
commite828d933424470b495feb841b67b70ba216e8ecb (patch)
tree8ce26246cfd27465f2c14e9944f6385147daa9cf /Makefile.am
parent77906e68f3c22de8ae74106ed59552a236970d83 (diff)
Makefile: mkdir $(builddir}/doc
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>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 688a9849..fef1d8d1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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: