CASL IIの仕様書を追加
[YACASL2.git] / doc / Makefile
1 RMR := $(RM) -r
2 SED := sed
3
4 DOCS := install manual casl2_spec
5 CSS := style.css
6
7 prefix ?= ~
8 infodir ?= $(prefix)/share/info
9
10 .PHONY: base all info html htmls pdf distclean clean
11
12 base: install.txt info html
13
14 all: base html pdf
15
16 info: yacasl2.info
17
18 html: $(addsuffix .html,$(DOCS))
19
20 htmls: $(addsuffix _html,$(DOCS))
21
22 pdf: $(addsuffix .pdf,$(DOCS))
23
24 yacasl2.info: manual.texi
25         $(MAKEINFO) $(MAKEINFO_FLAGS) $<
26
27 # makeで作成されたドキュメントはすべて削除
28 distclean: clean texinfo-distclean
29         $(RM) install.txt *.info *.html *_html *.pdf
30
31 # make baseで作成されたドキュメントは残す
32 clean: texinfo-clean
33         $(RM) *.bak
34
35 include texinfo.mk
36
37 include install-info.mk