[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
user:zeman:mdmake [2010/11/05 15:57]
zeman MD Makefile manual.
user:zeman:mdmake [2023/04/21 15:58]
zeman [Makefile]
Line 17: Line 17:
   * No value in no dimension can be identical with any other value of any dimension. In other words, a value uniquely identifies its dimension. (This helps prevent ambiguities in file names that do not contain all dimensions.)   * No value in no dimension can be identical with any other value of any dimension. In other words, a value uniquely identifies its dimension. (This helps prevent ambiguities in file names that do not contain all dimensions.)
   * There are special keywords to mark a multidimensional pattern rule. The following parameters can be supplied, too:   * There are special keywords to mark a multidimensional pattern rule. The following parameters can be supplied, too:
-    * In what dimensions the target file exists. (The other dimensions will not appear in the file name.)+    * The ''.md.for'' parameter specifies in what dimensions the target file exists. (The other dimensions will not appear in the file name.)
     * What are the constraints for the values in the respective dimensions. (Standard way is the ''.md.if'' directive but we would like to be able to constrain the ''.STATES'' dimension (or the last dimension in the list) directly in the rule.     * What are the constraints for the values in the respective dimensions. (Standard way is the ''.md.if'' directive but we would like to be able to constrain the ''.STATES'' dimension (or the last dimension in the list) directly in the rule.
     * MD-make will generate many normal rules from the multidimensional rule. In these generated rules, all combinations of all values in all affected dimensions will appear. As these rules are not templatic any more, we don't have to fear that gnu make will encounter cyclic dependencies or other problems.     * MD-make will generate many normal rules from the multidimensional rule. In these generated rules, all combinations of all values in all affected dimensions will appear. As these rules are not templatic any more, we don't have to fear that gnu make will encounter cyclic dependencies or other problems.
Line 49: Line 49:
 <code>.PHONY: all_d_hi_conll <code>.PHONY: all_d_hi_conll
 all_d_hi_conll: <list of all files containing values "d", "hi" and "conll"></code> all_d_hi_conll: <list of all files containing values "d", "hi" and "conll"></code>
 +
 +===== Download =====
 +
 +Copyright © 2009 Daniel Zeman
 +
 +All software supplied with this package is released under the GNU
 +General Public License.  This program is free software; you can
 +redistribute it and/or modify it under the terms of the GNU General
 +Public License as published by the Free Software Foundation; either
 +version 2, or (at your option) any later version.
 +
 +This program is distributed in the hope that it will be useful,
 +but WITHOUT ANY WARRANTY; without even the implied warranty of
 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 +GNU General Public License (below or at http://www.gnu.org/licenses/
 +gpl.html) for more details.
 +
 +{{:user:zeman:mdmake.zip|mdmake.zip}} contains the script ''mdmake.pl'' (you need a Perl interpreter to use it), a sample multidimensional makefile and the normal makefile generated from it.
 +
 +===== Acknowledgements =====
 +
 +This research has been supported by the grant of the Czech Ministry of Education no. MSM0021620838.
 +

[ Back to the navigation ] [ Back to the content ]