コンパイル時のオプションとしてWextraを追加し、警告を修正
[YACASL2.git] / doc / Makefile
index d43de39..7280fb0 100644 (file)
@@ -6,14 +6,16 @@ PTEX = ptex
 TEXI2DVI = texi2dvi
 DVI2PDF = dvipdfmx
 MAKEINFO = makeinfo
+MV = mv
 
 .PHONY: all htmlnosplit pdf clean
 
 .INTERMEDIATE: $(DOCNAME).dvi
 
-all: info htmlnosplit html pdf
+doc: info htmlnosplit html pdf
 
 htmlnosplit: $(DOCNAME).html
+       $(MV) $< index.html
 
 html: $(SRC) $(CSS)
        @if test ! -s $@; then mkdir $@; fi;
@@ -39,3 +41,4 @@ $(DOCNAME).dvi: $(SRC)
 
 clean:
        @rm -rf html $(DOCNAME).info $(DOCNAME).pdf $(DOCNAME).html $(DOCNAME).dvi
+       @rm -rf $(DOCNAME).aux $(DOCNAME).cp $(DOCNAME).cps $(DOCNAME).fn $(DOCNAME).ky $(DOCNAME).log $(DOCNAME).pg $(DOCNAME).pgs $(DOCNAME).tmp $(DOCNAME).toc $(DOCNAME).tp $(DOCNAME).vr