From 863cec2464edd80fcf7fbdf62cf1c89ecab647d0 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 4 May 2007 19:51:50 +0100 Subject: [PATCH] Create doc directory before writing HTML into it --- Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 38a4208..f2d0232 100644 --- a/Makefile.am +++ b/Makefile.am @@ -55,9 +55,10 @@ nodist_doc_DATA = $(HTML_TXT_RSTDOCS) $(HTML_RSTDOCS) CLEANFILES += $(nodist_doc_DATA) $(HTML_TXT_RSTDOCS) : %.html: %.txt - $(RST2HTML) $(RST2HTMLFLAGS) $< $@ + $(INSTALL) -d doc + $(RST2HTML) $(RST2HTMLFLAGS) $< $@ $(HTML_RSTDOCS) : %.html: % - $(RST2HTML) $(RST2HTMLFLAGS) $< $@ + $(RST2HTML) $(RST2HTMLFLAGS) $< $@ else _maintainer-update-htmldocs: @echo "*** Not updating the HTML docs on the website - install rst2html" -- 2.11.4.GIT