From: j8takagi Date: Sat, 31 May 2014 05:42:31 +0000 (+0900) Subject: doc/Makefileで、sedの記述をPOSIX対応のものに変更 X-Git-Tag: v0.2p29~7 X-Git-Url: https://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74f0a0ccf0cc10f20014604186f4278f27dc956e;p=YACASL2.git doc/Makefileで、sedの記述をPOSIX対応のものに変更 --- 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