From 3341328fe5f42b042bf4dcd944f5873fb481f0c4 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 8 Jan 2013 15:43:52 +0100 Subject: Avoid usage of sed -i --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 $< -- cgit