ドキュメントの修正
[YACASL2.git] / doc / Makefile
index 14703a3..dc8c378 100644 (file)
@@ -7,32 +7,39 @@ 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
 
 html: $(addsuffix .html,$(DOCS))
-       for f in $^; do $(SED) -i '' -e 's!dir\.html#Top!\.\./!g' $$f; done
 
 htmls: $(addsuffix _html,$(DOCS))
-       for d in $^; do $(SED) -i '' -e 's!\.\./dir/index\.html!\.\./\.\./!g' $$d/index.html; done
 
 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) *.bak
+       $(MAKE) -C casl2_spec clean
 
 include texinfo.mk