]> rtime.felk.cvut.cz Git - omk.git/blob - tests/extra_rules_subdirs
Update wvtool
[omk.git] / tests / extra_rules_subdirs
1 #!/bin/bash
2
3 . ./functions.sh
4
5 touch config.omk-default
6
7 cp Makefile.rules subdir2/tools/
8 make -k | tee make.log
9
10 trap 'rm -rf subdir2/tools/Makefile.rules subdir2/tools/_compiled subdir2/tools/_build' EXIT
11
12 grep 'Extra rules goal:' make.log || error "Extra rules was not called"
13 grep 'Main rules goal:' make.log || error "Main rules was not called"
14