X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=doc%2FMakefile;h=dc8c3787f2b2f4ae55fe75a3bad106ecd98b89b9;hp=e4a6b537ed82b308b26b6782ae69fd5e27428dbc;hb=7fbde1700bbe9d8f779033ad3b842d3dceb3e1c6;hpb=1b50560326f7ce2b73848537b20d48a961195a0f diff --git a/doc/Makefile b/doc/Makefile index e4a6b53..dc8c378 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,4 +1,5 @@ RMR := $(RM) -r +SED := sed DOCS := install manual CSS := style.css @@ -6,11 +7,15 @@ CSS := style.css prefix ?= ~ infodir ?= $(prefix)/share/info -.PHONY: base all info html htmls pdf distclean clean +TEXITARGETS := install.html manual.html + +INSTALL-INFO-TARGETS := yacasl2.info + +.PHONY: base all info html htmls pdf casl2_spec distclean clean base: install.txt info html -all: base htmls pdf +all: base htmls pdf casl2_spec info: yacasl2.info @@ -20,16 +25,21 @@ htmls: $(addsuffix _html,$(DOCS)) pdf: $(addsuffix .pdf,$(DOCS)) +casl2_spec: + $(MAKE) -C casl2_spec + yacasl2.info: manual.texi $(MAKEINFO) $(MAKEINFO_FLAGS) $< # makeで作成されたドキュメントはすべて削除 distclean: clean texinfo-distclean $(RM) install.txt *.info *.html *_html *.pdf + $(MAKE) -C casl2_spec distclean # make baseで作成されたドキュメントは残す clean: texinfo-clean - $(RM) *_html *.pdf + $(RM) *.bak + $(MAKE) -C casl2_spec clean include texinfo.mk