version 1.1, 2005/02/25 07:49:43
|
version 1.2, 2005/02/25 08:05:57
|
|
|
# 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 |
|
|
wine cabsdk/BIN/CABARC.EXE N complex.cab README 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 README lgpl.txt |
| |
# 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 |