X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2FMakefile;h=04b5f167df1ad3e4e9630693af17b00c9264a0e6;hb=8987c22715397eda101c25fb6ca1c37852db4adf;hp=7e7a0b19ebbe4a25497683b2afe389a6e28a1bc6;hpb=921a2913cc7d7d499b273ce24ce204272ecfa4e9;p=YACASL2.git diff --git a/doc/Makefile b/doc/Makefile index 7e7a0b1..04b5f16 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,14 +1,19 @@ +RMR := $(RM) -r +SED := sed + DOCS := install manual CSS := style.css prefix ?= ~ infodir ?= $(prefix)/share/info -.PHONY: base all info html htmls pdf distclean clean +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 html pdf casl2_spec info: yacasl2.info @@ -18,12 +23,21 @@ htmls: $(addsuffix _html,$(DOCS)) pdf: $(addsuffix .pdf,$(DOCS)) +casl2_spec: + $(MAKE) -C casl2_spec + yacasl2.info: manual.texi $(MAKEINFO) $(MAKEINFO_FLAGS) $< -distclean: texinfo-distclean +# makeで作成されたドキュメントはすべて削除 +distclean: clean texinfo-distclean + $(RM) install.txt *.info *.html *_html *.pdf + $(MAKE) -C casl2_spec distclean +# make baseで作成されたドキュメントは残す clean: texinfo-clean + $(RM) *.bak + $(MAKE) -C casl2_spec clean include texinfo.mk