Revision | 96b2d63ce76ee7b6955ade07b059b51efa84fdd4 (tree) |
---|---|
Time | 2017-06-26 22:20:25 |
Author | Michio Matsuyama <matsuand@debi...> |
Commiter | Michio Matsuyama |
Modify some.
@@ -1,4 +1,4 @@ | ||
1 | -srcdir = . | |
1 | +srcdir = @srcdir@ | |
2 | 2 | TIDY = tidy |
3 | 3 | XALAN = xalan |
4 | 4 | XSLTPROC = xsltproc |
@@ -15,10 +15,10 @@ book: $(OUTPUT)/index.html | ||
15 | 15 | $(OUTPUT)/index.html: $(XMLSRCS) $(OUTPUT)/translation.css $(XSLSRCS) |
16 | 16 | $(XSLTPROC) $(XSLTPROC_FLAGS) --xinclude \ |
17 | 17 | --stringparam base.dir "$(OUTPUT)" \ |
18 | - xslt/html-chunk.xsl $< | |
18 | + $(srcdir)/xslt/html-chunk.xsl $< | |
19 | 19 | for filename in `find $(OUTPUT) -name "*.html"`; do \ |
20 | 20 | echo $$filename; \ |
21 | - $(TIDY) -config tidy.conf $$filename; \ | |
21 | + $(TIDY) -config $(srcdir)/tidy.conf $$filename; \ | |
22 | 22 | true; \ |
23 | 23 | done |
24 | 24 |
@@ -172,7 +172,7 @@ program_transform_name = @program_transform_name@ | ||
172 | 172 | psdir = @psdir@ |
173 | 173 | sbindir = @sbindir@ |
174 | 174 | sharedstatedir = @sharedstatedir@ |
175 | -srcdir = . | |
175 | +srcdir = @srcdir@ | |
176 | 176 | sysconfdir = @sysconfdir@ |
177 | 177 | target_alias = @target_alias@ |
178 | 178 | top_build_prefix = @top_build_prefix@ |
@@ -377,10 +377,10 @@ book: $(OUTPUT)/index.html | ||
377 | 377 | $(OUTPUT)/index.html: $(XMLSRCS) $(OUTPUT)/translation.css $(XSLSRCS) |
378 | 378 | $(XSLTPROC) $(XSLTPROC_FLAGS) --xinclude \ |
379 | 379 | --stringparam base.dir "$(OUTPUT)" \ |
380 | - xslt/html-chunk.xsl $< | |
380 | + $(srcdir)/xslt/html-chunk.xsl $< | |
381 | 381 | for filename in `find $(OUTPUT) -name "*.html"`; do \ |
382 | 382 | echo $$filename; \ |
383 | - $(TIDY) -config tidy.conf $$filename; \ | |
383 | + $(TIDY) -config $(srcdir)/tidy.conf $$filename; \ | |
384 | 384 | true; \ |
385 | 385 | done |
386 | 386 |
@@ -1,28 +1,28 @@ | ||
1 | -<?xml version="1.0" encoding="UTF-8"?> | |
2 | -<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" | |
3 | - "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ | |
4 | - <!ENTITY % general-entities SYSTEM "general.ent"> | |
5 | - %general-entities; | |
6 | -]> | |
7 | -<book lang="ja"> | |
8 | - | |
9 | -<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="prologue/bookinfo.xml"/> | |
10 | -<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="prologue/preface.xml"/> | |
11 | - | |
12 | -<part id="part_trans_tech"> | |
13 | -<title>翻訳の技法</title> | |
14 | -<?dbhtml filename="part_trans_tech.html"?> | |
15 | - | |
16 | -<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="techs/ch_syntax.xml"/> | |
17 | -</part> | |
18 | - | |
19 | -<part id="part_trans_real"> | |
20 | -<title>訳出の実際例題</title> | |
21 | -<?dbhtml filename="part_trans_real.html"?> | |
22 | - | |
23 | -<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="words/chapter.xml"/> | |
24 | -</part> | |
25 | - | |
26 | -<index/> | |
27 | - | |
28 | -</book> | |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" | |
3 | + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ | |
4 | + <!ENTITY % general-entities SYSTEM "general.ent"> | |
5 | + %general-entities; | |
6 | +]> | |
7 | +<book lang="ja"> | |
8 | + | |
9 | +<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="prologue/bookinfo.xml"/> | |
10 | +<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="prologue/preface.xml"/> | |
11 | + | |
12 | +<part id="part_trans_tech"> | |
13 | +<title>翻訳の技法</title> | |
14 | +<?dbhtml filename="part_trans_tech.html"?> | |
15 | + | |
16 | +<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="techs/ch_syntax.xml"/> | |
17 | +</part> | |
18 | + | |
19 | +<part id="part_trans_real"> | |
20 | +<title>訳出の実際例題</title> | |
21 | +<?dbhtml filename="part_trans_real.html"?> | |
22 | + | |
23 | +<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="words/chapter.xml"/> | |
24 | +</part> | |
25 | + | |
26 | +<index/> | |
27 | + | |
28 | +</book> |