From 74f0a0ccf0cc10f20014604186f4278f27dc956e Mon Sep 17 00:00:00 2001 From: j8takagi Date: Sat, 31 May 2014 14:42:31 +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=92POSIX=E5=AF=BE=E5=BF=9C=E3=81=AE?= =?utf8?q?=E3=82=82=E3=81=AE=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- doc/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index a9f54de..14703a3 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 '' -e 's!dir\.html#Top!\.\./!g' $$f; 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 '' -e 's!\.\./dir/index\.html!\.\./\.\./!g' $$d/index.html; done pdf: $(addsuffix .pdf,$(DOCS)) @@ -32,6 +32,7 @@ distclean: clean texinfo-distclean # make baseで作成されたドキュメントは残す clean: texinfo-clean + $(RM) *.bak include texinfo.mk -- 2.18.0