website diff en/doc/manuals/tazwok.en.html @ rev 541

tazwok*: add hooks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 17 11:29:31 2009 +0200 (2009-09-17)
parents 6010185e6ab8
children
line diff
     1.1 --- a/en/doc/manuals/tazwok.en.html	Sun Oct 26 13:14:19 2008 +0000
     1.2 +++ b/en/doc/manuals/tazwok.en.html	Thu Sep 17 11:29:31 2009 +0200
     1.3 @@ -55,12 +55,14 @@
     1.4  </p>
     1.5  
     1.6  <h2>COMMANDS</h2>
     1.7 +<a name="usage"></a>
     1.8  <h3><font color="#6c0023">usage</font></h3>
     1.9  <p>
    1.10  Usage displays a summary of available commands with a short description in English:
    1.11  </p>
    1.12  <pre> # tazwok usage
    1.13  </pre>
    1.14 +<a name="stats"></a>
    1.15  <h3><font color="#6c0023">stats</font></h3>
    1.16  <p>
    1.17  Stats displays information contained in the configuration file and the number of packages
    1.18 @@ -68,6 +70,7 @@
    1.19  </p>
    1.20  <pre> # tazwok stats
    1.21  </pre>
    1.22 +<a name="list"></a>
    1.23  <h3><font color="#6c0023">list</font></h3>
    1.24  <p>
    1.25  List allows you to list all the packages contained in the wok or the default categories
    1.26 @@ -76,6 +79,7 @@
    1.27  <pre> # tazwok list
    1.28   # tazwok list category
    1.29  </pre>
    1.30 +<a name="info"></a>
    1.31  <h3><font color="#6c0023">info</font></h3>
    1.32  <p>
    1.33  This command provides information on the package - name, version, etc. Info on the basic package receipt
    1.34 @@ -83,6 +87,7 @@
    1.35  </p>
    1.36  <pre> # tazwok info package
    1.37  </pre>
    1.38 +<a name="check-log"></a>
    1.39  <h3><font color="#6c0023">check-log</font></h3>
    1.40  <p>
    1.41  When compiling a binary source, Tazwok generates a few messages stored in the file
    1.42 @@ -90,12 +95,14 @@
    1.43  </p>
    1.44  <pre> # tazwok check-log package
    1.45  </pre>
    1.46 +<a name="search"></a>
    1.47  <h3><font color="#6c0023">search</font></h3>
    1.48  <p>
    1.49  Search allows you to search for packages in the wok. You can specify a term or package name:
    1.50  </p>
    1.51  <pre> # tazwok search name
    1.52  </pre>
    1.53 +<a name="compile"></a>
    1.54  <h3><font color="#6c0023">compile</font></h3>
    1.55  <p>
    1.56  This command uses the compilation rules (compile_rules) specified in the receipt for the package in
    1.57 @@ -105,6 +112,7 @@
    1.58  </p>
    1.59  <pre> # tazwok compile package
    1.60  </pre>
    1.61 +<a name="genpkg"></a>
    1.62  <h3><font color="#6c0023">genpkg</font></h3>
    1.63  <p>
    1.64  Genpkg will generate the .tazpkg package using the 'genpkg_rules' found in the receipt.
    1.65 @@ -115,12 +123,14 @@
    1.66  </p>
    1.67  <pre> # tazwok genpkg package
    1.68  </pre>
    1.69 +<a name="cook"></a>
    1.70  <h3><font color="#6c0023">cook</font></h3>
    1.71  <p>
    1.72  Cook will simply compile and generate the package:
    1.73  </p>
    1.74  <pre> # tazwok cook package
    1.75  </pre>
    1.76 +<a name="cook-list"></a>
    1.77  <h3><font color="#6c0023">cook-list</font></h3>
    1.78  <p>
    1.79  This command will launch 'tazwok cook' on all the packages contained in the list file specified in the argument.
    1.80 @@ -129,12 +139,14 @@
    1.81  </p>
    1.82  <pre> # tazwok cook-list packages.cooklist
    1.83  </pre>
    1.84 +<a name="clean"></a>
    1.85  <h3><font color="#6c0023">clean</font></h3>
    1.86  <p>
    1.87  Clean can simply delete all files generated by compiling and packaging: 
    1.88  </p>
    1.89  <pre> # tazwok clean package
    1.90  </pre>
    1.91 +<a name="new-tree"></a>
    1.92  <h3><font color="#6c0023">new-tree</font></h3>
    1.93  <p>
    1.94  The 'new-tree' command can create a new package in the wok and can be used interactively. It
    1.95 @@ -145,6 +157,7 @@
    1.96  <pre> # tazwok new-tree package
    1.97   # tazwok new-tree package --interactive
    1.98  </pre>
    1.99 +<a name="gen-list"></a>
   1.100  <h3><font color="#6c0023">gen-list</font></h3>
   1.101  <p>
   1.102  The 'gen-list' command can generate a list of packages (packages.list), their md5 (packages.md5) and a list
   1.103 @@ -157,6 +170,7 @@
   1.104   # tazwok gen-list --text
   1.105   # tazwok gen-list /path/to/repository
   1.106  </pre>
   1.107 +<a name="gen-clean-wok"></a>
   1.108  <h3><font color="#6c0023">gen-clean-wok and clean-wok</font></h3>
   1.109  <p>
   1.110  The 'gen-clean-wok' command can create a new wok, this is useful to save a version of the wok, or create a new wok
   1.111 @@ -166,18 +180,21 @@
   1.112  <pre> # tazwok gen-clean-wok path/to/new-wok
   1.113   # tazwok clean-wok
   1.114  </pre>
   1.115 +<a name="remove"></a>
   1.116  <h3><font color="#6c0023">remove</font></h3>
   1.117  <p>
   1.118  Removes the package specified from the wok, including the receipt, stuff, all files, etc:
   1.119  </p>
   1.120  <pre> # tazwok remove package
   1.121  </pre>
   1.122 +<a name="build-depends"></a>
   1.123  <h3><font color="#6c0023">build-depends</font></h3>
   1.124  <p>
   1.125  Build-depends generates a list of packages to build a wok:
   1.126  </p>
   1.127  <pre> # tazwok build-depends
   1.128  </pre>
   1.129 +<a name="compare"></a>
   1.130  <h3><font color="#6c0023">cmp|compare</font></h3>
   1.131  <p>
   1.132  Compares the wok and the cooked packages and generates a report.
   1.133 @@ -188,6 +205,7 @@
   1.134   # tazwok compare --remove
   1.135   # tazwok compare --cook
   1.136  </pre> 
   1.137 +<a name="check"></a>
   1.138  <h3><font color="#6c0023">check</font></h3>
   1.139  <p>
   1.140  Checks the receipts for common errors: