8 infodir ?= $(prefix)/share/info
10 INSTALL-INFO-TARGETS := yacasl2.info
12 .PHONY: base all info html htmls pdf casl2_spec distclean clean
14 base: install.txt info html
16 all: base html pdf casl2_spec
20 html: $(addsuffix .html,$(DOCS))
22 htmls: $(addsuffix _html,$(DOCS))
24 pdf: $(addsuffix .pdf,$(DOCS))
29 yacasl2.info: manual.texi
30 $(MAKEINFO) $(MAKEINFO_FLAGS) $<
32 # makeで作成されたドキュメントはすべて削除
33 distclean: clean texinfo-distclean
34 $(RM) install.txt *.info *.html *_html *.pdf
35 $(MAKE) -C casl2_spec distclean
37 # make baseで作成されたドキュメントは残す
40 $(MAKE) -C casl2_spec clean
44 include install-info.mk