From c524dd0f08a3165f530a6373f3a3537950b9f4e1 Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Sat, 8 Feb 2014 21:52:23 +0100 Subject: [PATCH] Avoid writing (temporarily) into source directory. --- doc/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index eb9d82541..dc6c451cf 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -28,8 +28,7 @@ clean: @mkdir $@ ../html/%.html: %.sgml | ../html - @linuxdoc -B html --split=0 --toc=$(TOC_LEVEL) $< - @mv $(@F) ../html + @cd ../html && linuxdoc -B html --split=0 --toc=$(TOC_LEVEL) ../doc/$< gh-pages: html ifdef GH_TOKEN