Skip to content
Browse files

EXE Packaging works on Linux with Wine

  • Loading branch information...
1 parent cb1f993 commit 762576d002d27206848224c611a363cd0ed42fe6 @eldy eldy committed Jan 8, 2011
Showing with 9 additions and 8 deletions.
  1. +1 −1 make/exe/awstats.nsi
  2. +8 −7 make/makepack-awstats.pl
View
2 make/exe/awstats.nsi
@@ -103,7 +103,7 @@
LangString SETUP_SUBTITLE ${LANG_ENGLISH} "Building AWStats config files"
LangString PERLCHECK_TITLE ${LANG_FRENCH} "Verification Perl"
- LangString PERLCHECK_SUBTITLE ${LANG_FRENCH} "Verifie sur une interpreteur Perl operationnel peut etre trouve"
+ LangString PERLCHECK_SUBTITLE ${LANG_FRENCH} "Verifie si un interpreteur Perl operationnel peut etre trouve"
LangString SETUP_TITLE ${LANG_FRENCH} "Configuration"
LangString SETUP_SUBTITLE ${LANG_FRENCH} "Construction des fichiers de configuration AWStats"
View
15 make/makepack-awstats.pl
@@ -2,7 +2,7 @@
#----------------------------------------------------------------------------
# \file make/makepack-awstats.pl
# \brief Package builder (tgz, zip, rpm, deb, exe)
-# \version $Revision: 1.26 $
+# \version $Revision: 1.27 $
# \author (c)2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
#----------------------------------------------------------------------------
@@ -47,7 +47,7 @@
$RPMDIR="/home/ldestail/rpmbuild";
}
use vars qw/ $REVISION $VERSION /;
-$REVISION='$Revision: 1.26 $'; $REVISION =~ /\s(.*)\s/; $REVISION=$1;
+$REVISION='$Revision: 1.27 $'; $REVISION =~ /\s(.*)\s/; $REVISION=$1;
$VERSION="1.0 (build $REVISION)";
@@ -332,13 +332,14 @@
}
if ($target eq 'EXE') {
- unlink "$FILENAMEEXE.exe";
- print "Compress into $FILENAMEEXE.exe by $FILENAME.nsi...\n";
- $command="\"$REQUIREMENTTARGET{$target}\" /DMUI_VERSION_DOT=$MAJOR.$MINOR /X\"SetCompressor bzip2\" \"$SOURCE\\make\\exe\\$FILENAME.nsi\"";
+ unlink "$FILENAMEEXE.exe";
+ print "Compress into $FILENAMEEXE.exe by $FILENAME.nsi...\n";
+ $command="\"$REQUIREMENTTARGET{$target}\" /DMUI_VERSION_DOT=$MAJOR.$MINOR /X\"SetCompressor bzip2\" \"$SOURCE\\make\\exe\\$FILENAME.nsi\"";
print "$command\n";
$ret=`$command`;
- print "Move $FILENAMEEXE.exe to $DESTI\n";
- rename("$SOURCE\\make\\exe\\$FILENAMEEXE.exe","$DESTI/$FILENAMEEXE.exe");
+ print "Move $SOURCE\\make\\exe\\$FILENAMEEXE.exe to $DESTI\n";
+ rename("$SOURCE/make/exe/$FILENAMEEXE.exe","$DESTI/$FILENAMEEXE.exe");
+# rename("$SOURCE\\make\\exe\\$FILENAMEEXE.exe","$DESTI\\$FILENAMEEXE.exe");
next;
}

0 comments on commit 762576d

Please sign in to comment.
Something went wrong with that request. Please try again.