From d8078ef49825ea85ce914c9a969757d9ad072a05 Mon Sep 17 00:00:00 2001
From: agb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 7 Jan 2008 07:16:00 +0000
Subject: [PATCH] Fix docs build from a clean checkout, closes #2975

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10140 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 docs/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/Makefile b/docs/Makefile
index f6caa82603..cdaf09c1e0 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -17,6 +17,7 @@ compile:
 	$(NO_TRACE_MAKE) cleanup
 
 $(TMP_DIR)/.prereq-docs:
+	mkdir -p $(TMP_DIR)
 	$(NO_TRACE_MAKE) prereq
 	touch $@
 
@@ -25,7 +26,7 @@ openwrt.html: $(DEPS)
 
 openwrt.pdf: $(DEPS)
 	pdflatex $(MAIN)
-	
+
 clean: cleanup
 	rm -f openwrt.pdf openwrt.html openwrt.css
 
-- 
GitLab