Move scripts to scripts dir; build cab files in built dir along with

the files they contain.
This commit is contained in:
ehouse 2009-10-21 03:39:23 +00:00
parent 9cdb9ce45b
commit a1f3d1280f
4 changed files with 6 additions and 6 deletions

View file

@ -263,9 +263,9 @@ bmps/%.bmp: bmps/%.pgm
CAB: $(TARGET) $(DLLS)
$(STRIP) $<
./exe2cab.pl $<
for DLL in $(DLLS); do \
./dll2cab.pl $$DLL; \
(cd $(BUILTDIR); PATH=../../scripts:$$PATH exe2cab.pl $(notdir $<))
for DLL in $(notdir $(DLLS)); do \
(cd $(BUILTDIR); PATH=../../scripts:$$PATH dll2cab.pl $$DLL); \
done
SHIP: $(TARGET)

View file

@ -43,7 +43,7 @@ sub main() {
my $appname = $cabname;
$cabname .= ".cab";
my $cmd = "./scripts/pocketpc-cab -p $provider -a $appname "
my $cmd = "pocketpc-cab -p $provider -a $appname "
. "$fname $cabname";
print( STDERR $cmd, "\n");
`$cmd`;

View file

@ -46,7 +46,7 @@ sub main() {
print FILE "$tmpfile ";
print FILE '%CE1%\\\\Crosswords', "\n";
print FILE "../dawg/English/BasEnglish2to8.xwd ";
print FILE "../../../dawg/English/BasEnglish2to8.xwd ";
print FILE '%CE1%\\\\Crosswords', "\n";
# print FILE "$ENV{'CEOPT_ROOT'}/opt/mingw32ce/arm-wince-mingw32ce/bin/mingwm10.dll ";
@ -60,7 +60,7 @@ sub main() {
my $appname = $cabname;
$cabname .= ".cab";
my $cmd = "./scripts/pocketpc-cab -p $provider -a $appname "
my $cmd = "pocketpc-cab -p $provider -a $appname "
. "$fname $cabname";
print( STDERR $cmd, "\n");
`$cmd`;