X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2FMakefile;h=a9f54de11c9578aeeff8d76547fc56bce4cc86d0;hb=495088942f2e3e5f07012e5e0554a8a999587c10;hp=e4a6b537ed82b308b26b6782ae69fd5e27428dbc;hpb=1b50560326f7ce2b73848537b20d48a961195a0f;p=YACASL2.git diff --git a/doc/Makefile b/doc/Makefile index e4a6b53..a9f54de 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,4 +1,5 @@ RMR := $(RM) -r +SED := sed DOCS := install manual CSS := style.css @@ -15,8 +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 htmls: $(addsuffix _html,$(DOCS)) + for d in $^; do $(SED) -i -e 's!\.\./dir/index\.html!\.\./\.\./!g' $$d/index.html; done pdf: $(addsuffix .pdf,$(DOCS)) @@ -29,7 +32,6 @@ distclean: clean texinfo-distclean # make baseで作成されたドキュメントは残す clean: texinfo-clean - $(RM) *_html *.pdf include texinfo.mk