projects
/
YACASL2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
62946aa
)
ドキュメント作成用のMakefileを整理。中間ファイルはすぐに削除
author
j8takagi
<j8takagi@nifty.com>
Mon, 29 Nov 2010 10:58:03 +0000
(19:58 +0900)
committer
j8takagi
<j8takagi@nifty.com>
Mon, 29 Nov 2010 10:58:03 +0000
(19:58 +0900)
doc/Makefile
patch
|
blob
|
history
doc/yacasl2.html
patch
|
blob
|
history
diff --git
a/doc/Makefile
b/doc/Makefile
index
e5b87fd
..
44d63a8
100644
(file)
--- a/
doc/Makefile
+++ b/
doc/Makefile
@@
-1,29
+1,41
@@
DOCNAME = yacasl2
SRC = $(DOCNAME).texi
CSS = style.css
DOCNAME = yacasl2
SRC = $(DOCNAME).texi
CSS = style.css
-TEXBIN = /usr/local/te
TeX/bin
+TEXBIN = /usr/local/te
xlive/2010/bin/x86_64-linux
PTEX = $(TEXBIN)/ptex
TEXINDEX = $(TEXBIN)/texindex
DVI2PDF = $(TEXBIN)/dvipdfmx
PTEX = $(TEXBIN)/ptex
TEXINDEX = $(TEXBIN)/texindex
DVI2PDF = $(TEXBIN)/dvipdfmx
-TEXOBJDIR = texobj
+MAKEINFO = makeinfo
.PHONY: all htmlnosplit pdf clean
.PHONY: all htmlnosplit pdf clean
+
+.INTERMEDIATE: yacasl2.dvi
+
+htmlnosplit: $(DOCNAME).html
+
all: info htmlnosplit html pdf
all: info htmlnosplit html pdf
+
+html: $(SRC) $(CSS)
+ @if test ! -s $@; then mkdir $@; fi;
+ @cp $(CSS) $@/$(CSS)
+ @$(MAKEINFO) -o $@ --html --css-ref=style.css $(SRC)
+
+pdf: $(DOCNAME).pdf
+
info: $(DOCNAME).info
info: $(DOCNAME).info
+
$(DOCNAME).info: $(SRC)
$(DOCNAME).info: $(SRC)
- @
makeinfo
-o $@ $^
-htmlnosplit: $(DOCNAME).html
+ @
$(MAKEINFO)
-o $@ $^
+
$(DOCNAME).html: $(SRC) $(CSS)
$(DOCNAME).html: $(SRC) $(CSS)
- @makeinfo -o $@ --no-split --no-headers --html --css-include=$(CSS) $(SRC)
-html: $(SRC) $(CSS)
- @if test ! -s $@; then mkdir $@; fi; \
- cp $(CSS) $@/$(CSS); \
- makeinfo -o $@ --html --css-ref=style.css $(SRC)
-pdf: $(DOCNAME).pdf
+ @$(MAKEINFO) -o $@ --no-split --no-headers --html --css-include=$(CSS) $(SRC)
+
$(DOCNAME).pdf: $(DOCNAME).dvi
@$(DVI2PDF) $^
$(DOCNAME).pdf: $(DOCNAME).dvi
@$(DVI2PDF) $^
+
$(DOCNAME).dvi: $(SRC)
$(DOCNAME).dvi: $(SRC)
- @if test ! -s $(TEXOBJDIR); then mkdir $(TEXOBJDIR); fi; \
- TEX=ptex texi2dvi -q --texinfo=@afourpaper $^
+ @TEX=ptex texi2dvi -q --texinfo=@afourpaper -o $@ $<
+ @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
+
clean:
clean:
- @rm -rf html $(
TEXOBJDIR) $(DOCNAME).info $(DOCNAME).?? $(DOCNAME).???
+ @rm -rf html $(
DOCNAME).info $(DOCNAME).pdf $(DOCNAME).html $(DOCNAME).dvi
diff --git
a/doc/yacasl2.html
b/doc/yacasl2.html
index
3ddd0bb
..
40df70a
100644
(file)
--- a/
doc/yacasl2.html
+++ b/
doc/yacasl2.html
@@
-3,7
+3,7
@@
<title>YACASL2 - Linux上のCASL II処理系</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="YACASL2 - Linux上のCASL II処理系">
<title>YACASL2 - Linux上のCASL II処理系</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="YACASL2 - Linux上のCASL II処理系">
-<meta name="generator" content="makeinfo 4.1
1
">
+<meta name="generator" content="makeinfo 4.1
3
">
<link title="Top" rel="top" href="#Top">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
<link title="Top" rel="top" href="#Top">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--