Cope with absence of IO::Prompt
[deployable.git] / t / 02 / Makefile
blob3570b076bb311b5f6e62f138a6cddb9c989d6638
1 compile:
2 ../../deployable --output test.pl --bundle --no-tar \
3 hello.sh \
4 --root root
6 test: check clean
8 extract:
9 @rm -rf prova
10 @mkdir -p prova/root prova/here
11 ./test.pl --here-tar | ( cd prova/here ; tar xvf - )
12 @cd prova/here && ls -R > ../here.list
13 ./test.pl --root-tar | ( cd prova/root ; tar xvf - )
14 @cd prova/root && ls -R > ../root.list
16 clean:
17 @rm -rf prova extracted test.pl
19 check: compile extract
20 diff here.list prova/here.list
21 diff root.list prova/root.list
22 @echo -e "\nall tests successful"