X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2FMakefile;h=47ee21fb5f059cabd6a1595af8800b87bb383c11;hb=4b87f8c9f39eb7829339b25882c18ea78df8ba78;hp=a9f54de11c9578aeeff8d76547fc56bce4cc86d0;hpb=0afb992c169232e6ef08f8c5a73fc2a7602dae23;p=YACASL2.git diff --git a/doc/Makefile b/doc/Makefile index a9f54de..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 -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)) @@ -32,6 +32,7 @@ distclean: clean texinfo-distclean # make baseで作成されたドキュメントは残す clean: texinfo-clean + $(RM) *.bak include texinfo.mk