A portable make
replacement powered by Tcl.
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. |
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.
-
Use git to fetch the code:
git clone https://github.com/baguette/tmk.git && cd tmk
-
Use the provided bootstrap script to build a bootstrap version of
tmk
:./bootstrap.sh
-
Once the bootstrap is done, use
tmk
to build itself:./tmk
-
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.
-
To install TMk, use the
install
target provided in the TMakefile. Some helpful parameters arePREFIX
(defaults to/usr/local
) and (for package maintainers)DESTDIR
(defaults to the root directory):./tmk PREFIX=/usr install
-
To install the documentation (to
$PREFIX/share/doc/tmk
):./tmk PREFIX=/usr install-doc
Coming soon...
TMakefile syntax highlighting support is provided for Vim in the vim-syntax
directory.