summaryrefslogtreecommitdiffstats
path: root/bin/ptxdist
diff options
context:
space:
mode:
authorRoland Hieber <rohieb@rohieb.name>2016-11-04 23:35:15 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-11-11 10:29:26 +0100
commitc71afa266bb497cb07ed7312fd89ff2e1a0fe2f1 (patch)
tree013c668d0d2d0bc1b7e02ced38dddb431cf9aaa1 /bin/ptxdist
parent85c23b25325383718bb728dfe62c20a36c204da7 (diff)
downloadptxdist-c71afa266bb497cb07ed7312fd89ff2e1a0fe2f1.tar.gz
ptxdist-c71afa266bb497cb07ed7312fd89ff2e1a0fe2f1.tar.xz
create_docs: create srcdir recursively
This allows to build the documentation on a fresh tree when platform-dir/ does not exist yet Signed-off-by: Roland Hieber <rohieb@rohieb.name> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'bin/ptxdist')
-rwxr-xr-xbin/ptxdist2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ptxdist b/bin/ptxdist
index 1afd6b0c7..633b59933 100755
--- a/bin/ptxdist
+++ b/bin/ptxdist
@@ -1222,7 +1222,7 @@ create_docs() {
ptxd_source_kconfig "${PTXDIST_PLATFORMCONFIG}"
fi &&
- mkdir "${srcdir}" &&
+ mkdir -p "${srcdir}" &&
ptxd_in_path PTXDIST_PATH doc &&
for dir in "${ptxd_reply[@]}"; do
for entry in $(cd "${dir}"; ls); do