summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-08 15:43:52 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-08 15:43:52 +0100
commit3341328fe5f42b042bf4dcd944f5873fb481f0c4 (patch)
tree026ef08fb1b0c25c4398b61ef1133fba2f3f6ae0 /Makefile
parent3c6b5db33c9ec9d6c022f6208453c2d65ef134b6 (diff)
downloadsksys-3341328fe5f42b042bf4dcd944f5873fb481f0c4.tar.gz
sksys-3341328fe5f42b042bf4dcd944f5873fb481f0c4.tar.bz2
sksys-3341328fe5f42b042bf4dcd944f5873fb481f0c4.zip
Avoid usage of sed -i
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 551c9bf..30f5007 100644
--- a/Makefile
+++ b/Makefile
@@ -7,8 +7,9 @@ all: ${GenSVG} document.html presentation.html
.SUFFIXES: .asciidoc .html
presentation.html: presentation.asciidoc
- asciidoc --out-file=$@ --backend=slidy $<
- sed -i -f fix-css.sed $@
+ asciidoc --out-file=$@.tmp --backend=slidy $<
+ sed -f fix-css.sed $@.tmp > $@
+ rm $@.tmp
.asciidoc.html:
asciidoc --out-file=$@ --backend=html $<