From 47bf8f89da45a291fd821f44c4129950db02e9f1 Mon Sep 17 00:00:00 2001
From: Andy Boyett <agb@openwrt.org>
Date: Mon, 7 Jan 2008 07:16:00 +0000
Subject: [PATCH] Fix docs build from a clean checkout, closes #2975

SVN-Revision: 10140
---
 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