version 1.1, 2005/02/25 07:49:43
|
version 1.3, 2005/02/25 08:27:16
|
|
|
# This is run just once, and generates the file cabinet_files.h, | # This is run just once, and generates the file cabinet_files.h, |
# which is then checked into CVS forever. | # which is then checked into CVS forever. |
# It is here just in case we want to add more test files later. | # It is here just in case we want to add more test files later. |
# Copyright 2005 Dan Kegel; LGPL |
# Copyright 2005 Dan Kegel, Rizwan Kassim; LGPL |
| |
#set -ex |
# remove "wine" before command calls if you're running on Windows |
|
|
|
set -ex |
| |
# First, get cabinet SDK | # First, get cabinet SDK |
# You might need to download it by hand from ttp://support.microsoft.com/?id=310618 | # You might need to download it by hand from ttp://support.microsoft.com/?id=310618 |
|
|
| |
# 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 README lgpl.txt simple.cab complex.cab > data.h |
|
|
|
rm -fr README lgpl.txt simple.cab complex.cab |