]> rtime.felk.cvut.cz Git - omk.git/blob - tests/use_leaf_makefiles.files
Update wvtool
[omk.git] / tests / use_leaf_makefiles.files
1 mkdir 'dir1'
2 cat > 'dir1/Makefile.omk' <<'EOF'
3 SUBDIRS=dir3
4
5 USE_LEAF_MAKEFILES=n
6 EOF
7 mkdir 'dir1/dir3'
8 echo '$(warning Makefile.omk used without leaf Makefile)' > 'dir1/dir3/Makefile.omk'
9 cat > 'config.omk-default' <<'EOF'
10 # Start of OMK config file
11 # This file should not be altered manually
12 # Overrides should be stored in file config.omk
13
14 # Config for 
15 EOF
16 echo 'SUBDIRS=dir1 dir2' > 'Makefile.omk'
17 mkdir 'dir2'
18 echo 'SUBDIRS=dir4' > 'dir2/Makefile.omk'
19 mkdir 'dir2/dir4'
20 cat > 'dir2/dir4/Makefile' <<'EOF'
21 $(warning Leaf Makefile included)
22
23 %:
24         @echo Executed $@
25 EOF