X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2FMakefile;h=a9f54de11c9578aeeff8d76547fc56bce4cc86d0;hb=ae7aaf86959f7de9213bc8f5f0fa5308b932a624;hp=7e7a0b19ebbe4a25497683b2afe389a6e28a1bc6;hpb=921a2913cc7d7d499b273ce24ce204272ecfa4e9;p=YACASL2.git diff --git a/doc/Makefile b/doc/Makefile index 7e7a0b1..a9f54de 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,3 +1,6 @@ +RMR := $(RM) -r +SED := sed + DOCS := install manual CSS := style.css @@ -13,16 +16,21 @@ 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)) yacasl2.info: manual.texi $(MAKEINFO) $(MAKEINFO_FLAGS) $< -distclean: texinfo-distclean +# makeで作成されたドキュメントはすべて削除 +distclean: clean texinfo-distclean + $(RM) install.txt *.info *.html *_html *.pdf +# make baseで作成されたドキュメントは残す clean: texinfo-clean include texinfo.mk