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