OSDN Git Service

翻訳文を少し修正.
authorrezoo <rezoolab@gmail.com>
Fri, 10 Sep 2010 03:29:41 +0000 (12:29 +0900)
committerrezoo <rezoolab@gmail.com>
Fri, 10 Sep 2010 03:29:41 +0000 (12:29 +0900)
build-examples.rst

index 02373a7..26a1e77 100644 (file)
@@ -53,15 +53,15 @@ OMakeではこの構造を抜本的に変更します。とは言っても実際
 
 .. The role of each <dir>/OMakefile plays the same role as each <dir>/Makefile: it describes how to build the source files in <dir>. The OMakefile retains much of syntax and structure of the Makefile, but in most cases it is much simpler.
 
\90\84ã\80\85ã\81® ``<dir>/OMakefile`` ã\81®å½¹å\89²ã\81¯å\90\84ã\80\85ã\81® ``<dir>/Makefile`` ã\81®å½¹å\89²ã\81¨å\90\8cæ§\98ã\81§ã\80\81ã\81©ã\81®ã\82\88ã\81\86ã\81« ``<dir>`` ã\81®ã\82½ã\83¼ã\82¹ã\83\95ã\82¡ã\82¤ã\83«ã\82\92ã\83\93ã\83«ã\83\89ã\81\99ã\82\8bã\81®ã\81\8bã\82\92設定します。 ``OMakefile`` は ``Makefile`` の構造や構文を保持しておりますが、ほとんどの場合 ``make`` よりも簡単に記述することができます。
\90\84ã\80\85ã\81® ``<dir>/OMakefile`` ã\81®å½¹å\89²ã\81¯å\90\84ã\80\85ã\81® ``<dir>/Makefile`` ã\81®å½¹å\89²ã\81¨å\90\8cæ§\98ã\81§ã\80\81ã\81©ã\81®ã\82\88ã\81\86ã\81« ``<dir>`` ã\81®ã\82½ã\83¼ã\82¹ã\83\95ã\82¡ã\82¤ã\83«ã\82\92ã\83\93ã\83«ã\83\89ã\81\99ã\82\8bã\81®ã\81\8bã\81«ã\81¤ã\81\84ã\81¦設定します。 ``OMakefile`` は ``Makefile`` の構造や構文を保持しておりますが、ほとんどの場合 ``make`` よりも簡単に記述することができます。
 
 .. One minor difference is the presence of the OMakeroot in the project root. The main purpose of this file is to indicate where the project root is in the first place (in case omake is invoked from a subdirectory). The OMakeroot serves as the bootstrap file; omake starts by reading this file first. Otherwise, the syntax and evaluation of OMakeroot is no different from any other OMakefile.
 
-一つ小さな違いがあるとすれば、プロジェクトのルートディレクトリに ``OMakeroot`` が存在している点です。このファイルの主要な目的は、第一にプロジェクトのルートディレクトリがどこにあるかを示すことです(omakeがサブディレクトリから呼び出されたときのためです)。 ``OMakeroot`` はブートストラップとして働きます。omakeはこのファイルを最初に読み込むことで実行されます。それ以外では、 ``OMakeroot`` の構文と機能は他の ``OMakefile`` と全く同様です。
+一つ小さな違いがあるとすれば、プロジェクトのルートディレクトリに ``OMakeroot`` が存在している点です。このファイルの主な目的は、第一にプロジェクトのルートディレクトリがどこにあるか示すことです(omakeがサブディレクトリから呼び出されたときのためです)。 ``OMakeroot`` はブートストラップとして働きます。omakeはこのファイルを最初に読み込んで実行されます。それ以外では、 ``OMakeroot`` の構文と機能は他の ``OMakefile`` と全く同様です。
 
 .. The big difference is that OMake performs a global analysis. Here is what happens when omake starts.
 
-*大ã\81\8dã\81ª* é\81\95ã\81\84ã\81¯ã\80\81OMakeã\81¯ *ã\82°ã\83­ã\83¼ã\83\90ã\83«ã\81ª* è§£æ\9e\90ã\82\92è¡\8cã\81\86ã\81¨ã\81\84ã\81\86ç\82¹ã\81§ã\81\99ã\80\82以ä¸\8bã\81¯ã\81©ã\81®ã\82\88ã\81\86ã\81«omakeã\81\8cå\8b\95ä½\9cã\81\99ã\82\8bã\81®ã\81\8bã\82\92示します。
+*大ã\81\8dã\81ª* é\81\95ã\81\84ã\81¯ã\80\81OMakeã\81¯ *ã\82°ã\83­ã\83¼ã\83\90ã\83«ã\81ª* è§£æ\9e\90ã\82\92è¡\8cã\81\86ã\81¨ã\81\84ã\81\86ç\82¹ã\81§ã\81\99ã\80\82以ä¸\8bã\81¯ã\81©ã\81®ã\82\88ã\81\86ã\81«omakeã\81\8cå\8b\95ä½\9cã\81\99ã\82\8bã\81®ã\81\8bã\81«ã\81¤ã\81\84ã\81¦示します。
 
 ..   1. omake locates that OMakeroot file, and reads it.
      2. Each OMakefile points to its subdirectory OMakefiles using the .SUBDIRS target. For example, my_project/OMakefile has a rule,
@@ -86,7 +86,7 @@ OMakeではこの構造を抜本的に変更します。とは言っても実際
 
 .. There are several advantages to this model. First, since analysis is global, it is much easier to ensure that the build configuration is consistent–after all, there is only one configuration. Another benefit is that the build configuration is inherited, and can be re-used, down the hierarchy. Typically, the root OMakefile defines some standard boilerplate and configuration, and this is inherited by subdirectories that tweak and modify it (but do not need to restate it entirely). The disadvantage of course is space, since this is global analysis after all. In practice rarely seems to be a concern; omake takes up much less space than your web browser even on large projects.
 
-このモデルではいくつかの利点があります。初めに、解析をグローバルにしたことで、単一のビルド設定が用いられることとなり、ビルド設定を一定にするよう保証することがより簡単になるという点です。別の利点はビルドに関する設定が継承されて、再利用可能となり、さらに階層構造となる点です。概して、ルートの ``OMakefile`` はいくつかの標準的な決まり文句と設定を定義しており、これはサブディレクトリによって継承されて、調整したり、変更することができます(全体を書き換える必要はありません)。この方法の欠点は容量が増大することで、これは結局グローバルな解析を行っているためです。が、実際にはめったに考慮する必要があるようには見えません。OMakeは大きなプロジェクトにおいてさえ、あなたが使っているウェブブラウザよりもはるかに小さい容量しか使いません。
\81\93ã\81®ã\83¢ã\83\87ã\83«ã\81§ã\81¯ã\81\84ã\81\8fã\81¤ã\81\8bã\81®å\88©ç\82¹ã\81\8cã\81\82ã\82\8aã\81¾ã\81\99ã\80\82å\88\9dã\82\81ã\81«ã\80\81解æ\9e\90ã\82\92ã\82°ã\83­ã\83¼ã\83\90ã\83«ã\81«ã\81\97ã\81\9fã\81\93ã\81¨ã\81§ã\80\81å\8d\98ä¸\80ã\81®ã\83\93ã\83«ã\83\89設å®\9aã\81\8cç\94¨ã\81\84ã\82\89ã\82\8cã\82\8bã\81\93ã\81¨ã\81¨ã\81ªã\82\8aã\80\81ã\83\93ã\83«ã\83\89設å®\9aã\82\92ä¸\80å®\9aã\81«ã\81\99ã\82\8bã\82\88ã\81\86ä¿\9d証ã\81\99ã\82\8bã\81\93ã\81¨ã\81\8cã\82\88ã\82\8aç°¡å\8d\98ã\81«ã\81ªã\82\8bã\81¨ã\81\84ã\81\86ç\82¹ã\81§ã\81\99ã\80\82å\88¥ã\81®å\88©ç\82¹ã\81¯ã\83\93ã\83«ã\83\89ã\81«é\96¢ã\81\99ã\82\8b設å®\9aã\81\8cç¶\99æ\89¿ã\81\95ã\82\8cã\81¦ã\80\81å\86\8då\88©ç\94¨å\8f¯è\83½ã\81¨ã\81ªã\82\8aã\80\81ã\81\95ã\82\89ã\81«é\9a\8e層æ§\8bé\80 ã\81¨ã\81ªã\82\8bç\82¹ã\81§ã\81\99ã\80\82æ¦\82ã\81\97ã\81¦ã\80\81ã\83«ã\83¼ã\83\88ã\81® ``OMakefile`` ã\81¯ã\81\84ã\81\8fã\81¤ã\81\8bã\81®æ¨\99æº\96ç\9a\84ã\81ªæ±ºã\81¾ã\82\8aæ\96\87å\8f¥ã\81¨è¨­å®\9aã\82\92å®\9a義ã\81\97ã\81¦ã\81\8aã\82\8aã\80\81ã\81\93ã\82\8cã\81¯ã\82µã\83\96ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\81«ã\82\88ã\81£ã\81¦ç¶\99æ\89¿ã\81\95ã\82\8cã\81¦ã\80\81調æ\95´ã\81\97ã\81\9fã\82\8aã\80\81å¤\89æ\9b´ã\81\99ã\82\8bã\81\93ã\81¨ã\81\8cã\81§ã\81\8dã\81¾ã\81\99\85¨ä½\93ã\82\92æ\9b¸ã\81\8dæ\8f\9bã\81\88ã\82\8bå¿\85è¦\81ã\81¯ã\81\82ã\82\8aã\81¾ã\81\9bã\82\93\80\82ã\81\93ã\81®æ\96¹æ³\95ã\81®æ¬ ç\82¹ã\81¯å®¹é\87\8fã\81\8cå¢\97大ã\81\99ã\82\8bã\81\93ã\81¨ã\81§ã\80\81ã\81\93ã\82\8cã\81¯çµ\90å±\80ã\82°ã\83­ã\83¼ã\83\90ã\83«ã\81ªè§£æ\9e\90ã\82\92è¡\8cã\81£ã\81¦ã\81\84ã\82\8bã\81\9fã\82\81ã\81§ã\81\99ã\80\82ã\81\8cã\80\81å®\9fé\9a\9bã\81«ã\81¯ã\82\81ã\81£ã\81\9fã\81«è\80\83æ\85®ã\81\99ã\82\8bå¿\85è¦\81ã\81\8cã\81\82ã\82\8bã\82\88ã\81\86ã\81«ã\81¯è¦\8bã\81\88ã\81¾ã\81\9bã\82\93ã\80\82OMakeã\81¯å¤§ã\81\8dã\81ªã\83\97ã\83­ã\82¸ã\82§ã\82¯ã\83\88ã\81«ã\81\8aã\81\84ã\81¦ã\81§ã\81\95ã\81\88ã\80\81ã\81\82ã\81ªã\81\9fã\81\8c使ã\81£ã\81¦ã\81\84ã\82\8bã\82¦ã\82§ã\83\96ã\83\96ã\83©ã\82¦ã\82¶ã\82\88ã\82\8aã\82\82ã\81¯ã\82\8bã\81\8bã\81«å°\8fã\81\95ã\81\84容é\87\8fã\81\97ã\81\8b使ã\81\84ã\81¾ã\81\9bã\82\93ã\80\82
 
 .. Some notes to the GNU/BSD make user. 
 
@@ -135,7 +135,7 @@ OMakeを始めるために、あなたがこのような決まり文句を入力
 ------------------------------
 .. To begin, let's start with a simple example. Let's say that we have a full directory tree, containing the following files.
 
-OMakeを始めるため、まずは簡単なサンプルから始めてみましょう。いま私たちは以下のファイルを含んだディレクトリツリーを持っているものとします。 ::
+OMakeã\82\92å§\8bã\82\81ã\82\8bã\81\9fã\82\81ã\81«ã\80\81ã\81¾ã\81\9aã\81¯ç°¡å\8d\98ã\81ªã\82µã\83³ã\83\97ã\83«ã\81\8bã\82\89å§\8bã\82\81ã\81¦ã\81¿ã\81¾ã\81\97ã\82\87ã\81\86ã\80\82ã\81\84ã\81¾ç§\81ã\81\9fã\81¡ã\81¯ä»¥ä¸\8bã\81®ã\83\95ã\82¡ã\82¤ã\83«ã\82\92å\90«ã\82\93ã\81 ã\83\87ã\82£ã\83¬ã\82¯ã\83\88ã\83ªã\83\84ã\83ªã\83¼ã\82\92æ\8c\81ã\81£ã\81¦ã\81\84ã\82\8bã\82\82ã\81®ã\81¨ã\81\97ã\81¾ã\81\99ã\80\82 ::
 
     my_project/
     |--> OMakeroot