Skip to content

baguette/tmk

Repository files navigation

TMk

A portable make replacement powered by Tcl.

Coverity Scan Build Status

Powered By

Component Description
Jim Tcl Jim is an opensource small-footprint implementation of the Tcl programming language
SHA-1 Public Domain implementation by Brad Conte.
SQLite An embeddable, single-file SQL database.

Building & Installing

UNIX-like systems (including Linux, Mac OS X, and Cygwin)

To build, you'll need an ANSI C compiler and a POSIX-compatible shell. If you believe you have those things and the build does not work, please file an issue.

  1. Use git to fetch the code:

    git clone https://github.com/baguette/tmk.git && cd tmk

  2. Use the provided bootstrap script to build a bootstrap version of tmk:

    ./bootstrap.sh

  3. Once the bootstrap is done, use tmk to build itself:

    ./tmk

  4. Optionally, build the documentation (you'll need pandoc):

    ./tmk doc-html # for HTML documentation

There's also a doc-pdf for PDF documentation and a doc-all target for both.

  1. To install TMk, use the install target provided in the TMakefile. Some helpful parameters are PREFIX (defaults to /usr/local) and (for package maintainers) DESTDIR (defaults to the root directory):

    ./tmk PREFIX=/usr install

  2. To install the documentation (to $PREFIX/share/doc/tmk):

    ./tmk PREFIX=/usr install-doc

Windows

Coming soon...

Syntax highlighting

TMakefile syntax highlighting support is provided for Vim in the vim-syntax directory.