CASL IIの仕様書を追加
[YACASL2.git] / doc / Makefile
index a9f54de..6216a3e 100644 (file)
@@ -1,7 +1,7 @@
 RMR := $(RM) -r
 SED := sed
 
-DOCS := install manual
+DOCS := install manual casl2_spec
 CSS := style.css
 
 prefix ?= ~
@@ -11,15 +11,13 @@ infodir ?= $(prefix)/share/info
 
 base: install.txt info html
 
-all: base htmls pdf
+all: base html pdf
 
 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))
 
@@ -32,6 +30,7 @@ distclean: clean texinfo-distclean
 
 # make baseで作成されたドキュメントは残す
 clean: texinfo-clean
+       $(RM) *.bak
 
 include texinfo.mk