hiding ancillary commands from Makefile
[deployable.git] / t / 01 / Makefile
blobe932ca3f3ed920ae94ccfa72a89b3d9f8d6384c1
1 compile:
2 ../../deployable --output test.pl --bundle --bzip2 \
3 hello.sh \
4 --rootdir rootdir_1 \
5 --rootdir rootdir_2 \
6 --root root_1 \
7 --root root_2
9 test: check clean
11 extract:
12 @rm -rf prova
13 @mkdir -p prova/root prova/here
14 ./test.pl --here-tar | ( cd prova/here ; tar xvjf - )
15 @cd prova/here && ls -R > ../here.list
16 ./test.pl --root-tar | ( cd prova/root ; tar xvjf - )
17 @cd prova/root && ls -R > ../root.list
19 clean:
20 @rm -rf prova test.pl
22 check: compile extract
23 diff here.list prova/here.list
24 diff root.list prova/root.list
25 @echo -e "\nall tests successful"