瀏覽代碼

Fix docs build from a clean checkout, closes #2975

SVN-Revision: 10140
Andy Boyett 18 年之前
父節點
當前提交
47bf8f89da
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      docs/Makefile

+ 2 - 1
docs/Makefile

@@ -17,6 +17,7 @@ compile:
 	$(NO_TRACE_MAKE) cleanup
 	$(NO_TRACE_MAKE) cleanup
 
 
 $(TMP_DIR)/.prereq-docs:
 $(TMP_DIR)/.prereq-docs:
+	mkdir -p $(TMP_DIR)
 	$(NO_TRACE_MAKE) prereq
 	$(NO_TRACE_MAKE) prereq
 	touch $@
 	touch $@
 
 
@@ -25,7 +26,7 @@ openwrt.html: $(DEPS)
 
 
 openwrt.pdf: $(DEPS)
 openwrt.pdf: $(DEPS)
 	pdflatex $(MAIN)
 	pdflatex $(MAIN)
-	
+
 clean: cleanup
 clean: cleanup
 	rm -f openwrt.pdf openwrt.html openwrt.css
 	rm -f openwrt.pdf openwrt.html openwrt.css