version 1.3, 2005/02/25 08:27:16
|
version 1.4, 2005/03/18 00:28:59
|
|
|
echo 'So long, and thanks for all the fish.....' > simple.txt | echo 'So long, and thanks for all the fish.....' > simple.txt |
wine cabsdk/BIN/CABARC.EXE N simple.cab simple.txt | wine cabsdk/BIN/CABARC.EXE N simple.cab simple.txt |
| |
# More complicated archive, with two files |
|
cp ../../../README README |
|
cp ../../../COPYING.LIB lgpl.txt |
|
wine cabsdk/BIN/CABARC.EXE N complex.cab README lgpl.txt |
|
|
|
# Blow away cabinet SDK | # Blow away cabinet SDK |
rm -rf cabsdk | rm -rf cabsdk |
| |
# Pack source files and archives into hex arrays | # Pack source files and archives into hex arrays |
perl ../../../tools/chexify.pl simple.txt README lgpl.txt simple.cab complex.cab > data.h |
perl ../../../tools/chexify.pl simple.txt txt simple.cab > simplecab.h |
| |
rm -fr README lgpl.txt simple.cab complex.cab |
rm -fr simple.cab |