From: Oliver Schmidt
Date: Sat, 8 Feb 2014 20:52:23 +0000 (+0100)
Subject: Avoid writing (temporarily) into source directory.
X-Git-Tag: V2.15~165
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c524dd0f08a3165f530a6373f3a3537950b9f4e1;p=cc65
Avoid writing (temporarily) into source directory.
---
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