From: j8takagi Date: Sat, 31 May 2014 14:02:28 +0000 (+0900) Subject: doc/Makefileのsedが、BSD SedとGNU Sedの両方で正常に機能するようにコマンドオプション記述を修正 X-Git-Tag: v0.2p29~3 X-Git-Url: https://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6d80ec2b30f03bcf454cf9f51c1f6c8b1cf8a7e;p=YACASL2.git doc/Makefileのsedが、BSD SedとGNU Sedの両方で正常に機能するようにコマンドオプション記述を修正 --- diff --git a/doc/Makefile b/doc/Makefile index 2861845..47ee21f 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 .bak -e 's!dir\.html#Top!\.\./!g' $$f && $(RM) $$f.bak; 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 .bak -e 's!\.\./dir/index\.html!\.\./\.\./!g' $$d/index.html && $(RM) $$d/index.html.bak; 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))