From e5a628bc94373e55be537b7537a32fb38abbf388 Mon Sep 17 00:00:00 2001 From: j8takagi Date: Sat, 31 May 2014 16:02:05 +0900 Subject: [PATCH] =?utf8?q?doc/Makefile=E3=81=A7=E3=80=81sed=E3=81=AE?= =?utf8?q?=E8=A8=98=E8=BF=B0=E3=82=92=E5=A4=89=E6=9B=B4=E3=80=82=E3=81=84?= =?utf8?q?=E3=81=A3=E3=81=9F=E3=82=93.html.bak=E3=83=95=E3=82=A1=E3=82=A4?= =?utf8?q?=E3=83=AB=E3=82=92=E4=BD=9C=E6=88=90=E3=81=97=E3=81=A6=E3=81=8B?= =?utf8?q?=E3=82=89=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- doc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index 14703a3..2861845 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -16,10 +16,10 @@ all: base htmls pdf info: yacasl2.info html: $(addsuffix .html,$(DOCS)) - for f in $^; do $(SED) -i '' -e 's!dir\.html#Top!\.\./!g' $$f; done + for f in $^; do $(SED) -i .bak -e 's!dir\.html#Top!\.\./!g' $$f && $(RM) $$f.bak; done htmls: $(addsuffix _html,$(DOCS)) - for d in $^; do $(SED) -i '' -e 's!\.\./dir/index\.html!\.\./\.\./!g' $$d/index.html; done + for d in $^; do $(SED) -i .bak -e 's!\.\./dir/index\.html!\.\./\.\./!g' $$d/index.html && $(RM) $$d/index.html.bak; done pdf: $(addsuffix .pdf,$(DOCS)) -- 2.18.0