]> rtime.felk.cvut.cz Git - omk.git/commit
Add omk-get-var target to get values of OMK variables
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 11 Mar 2011 21:07:37 +0000 (22:07 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 12 Mar 2011 16:07:40 +0000 (17:07 +0100)
commit668bc89b8733e3e5a68da909e09ddbfd5835ca5b
tree059494e3a0577b0219375fa8f0aa11241c794308
parent8b38938793173f253ed23f7ee16dadcba6eabb12
Add omk-get-var target to get values of OMK variables

This allows external scripts/programs to determine the
values of OMK variables such as RELATIVE_DIR etc.

Usage: make omk-get-var VAR=RELATIVE_DIR
Output: RELATIVE_DIR=some_dir
snippets/base.omk
tests/Makefile
tests/get_var.sh [new file with mode: 0755]