File: README

package info (click to toggle)
bake 1.0-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 188 kB
  • ctags: 151
  • sloc: python: 895; ansic: 50; makefile: 42
file content (83 lines) | stat: -rw-r--r-- 1,961 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
=== Bake ===

Yet another Make replacement.

Version 1.0
Release date: Wed Jan 12 11:30:01 2005


(C) Bertram Scharpf, Deutschland/Germany, <software@bertram-scharpf.de>
License: LGPL. See the source code or the file COPYING for details.
NO warranty for NOTHING.


Contents
--------

    1. About
    2. Installation
    3. Usage
    4. Bugs


1. About
--------

This program is written in Python. Definition files, usually named
`bakefile', are Python source code as well. This makes it very
flexible. See the included file for some example definitions.

Bake was written for the following advantages:

    - It handles header dependencies.

    - Build processes written in Python can be called directly,
      without loading another shell or interpreter.

    - Password entering can be put in front of all other work. (For
      example when a homepage is built and uploaded afterwards).

    - Subordinated instances can be called Python-internally without
      loading another shell, too.


2. Installation
---------------

As long as bake is not installed, it must be called as

    $ python bake.py <target>

To install it on your system, become root and say:

    # python bake.py install

or

    # python bake.py PREFIX=/usr/local EPREFIX=/usr/local install

Bake needs at least Python version 2.3 (Most targets will run with 2.2
as well).


3. Usage
--------

Calling with '-h' gives an overview of the command line options. See
the Python docstrings for elementary documentation. A full
documentation is supplied in form of the manpages bake(1),
bakefile(5). Also, the '-v' option may yield a better understanding.

There is an example bakefile shipped with the project. See also other
projects from Bertram Scharpf for further examples of bakefiles
(<http://www.bertram-scharpf.de/software.html>).


4. Bugs
-------

As there are many cases to test, there are presumably some bugs not
noticed yet.

Report bugs to <software@bertram-scharpf.de>