X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=doc%2FMakefile;h=a9f54de11c9578aeeff8d76547fc56bce4cc86d0;hp=7d575e24805d28f915d766e3d309b0dd2017f645;hb=0afb992c169232e6ef08f8c5a73fc2a7602dae23;hpb=aabb350bc1579901603d956d6c5f51f1024f24db diff --git a/doc/Makefile b/doc/Makefile index 7d575e2..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))