Fix packager and doc
This commit is contained in:
parent
5b037d87cb
commit
92eeff7a26
@ -16,6 +16,8 @@ Note: Prerequisites to build tgz, debian, rpm package
|
|||||||
> apt-get install tar dpkg dpatch p7zip-full rpm zip
|
> apt-get install tar dpkg dpatch p7zip-full rpm zip
|
||||||
|
|
||||||
Note: Prerequisites to build autoexe DoliWamp package:
|
Note: Prerequisites to build autoexe DoliWamp package:
|
||||||
|
> apt-get install wine q4wine
|
||||||
|
> Launch "wine cmd" to check a drive Z: pointing to / exists.
|
||||||
> Install InnoSetup
|
> Install InnoSetup
|
||||||
For example by running isetup-5.3.9.exe (http://www.jrsoftware.org)
|
For example by running isetup-5.3.9.exe (http://www.jrsoftware.org)
|
||||||
> Install WampServer into "C:\Program Files\Wamp"
|
> Install WampServer into "C:\Program Files\Wamp"
|
||||||
@ -25,6 +27,8 @@ Note: Prerequisites to build autoexe DoliWamp package:
|
|||||||
> To build from Windows (running from makepack-dolibarr.pl script is however
|
> To build from Windows (running from makepack-dolibarr.pl script is however
|
||||||
recommanded), open file build/exe/doliwamp.iss and click on button "Compile".
|
recommanded), open file build/exe/doliwamp.iss and click on button "Compile".
|
||||||
The .exe file will be build into directory build.
|
The .exe file will be build into directory build.
|
||||||
|
> Add path to ISCC into PATH windows var:
|
||||||
|
Launch wine cmd, then regedit and add entry int HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment\PATH
|
||||||
|
|
||||||
- To build a theme package, launch the script
|
- To build a theme package, launch the script
|
||||||
> perl makepack-dolibarrtheme.pl
|
> perl makepack-dolibarrtheme.pl
|
||||||
@ -44,9 +48,6 @@ generated packages will not contains this "build" directory.
|
|||||||
|
|
||||||
We can find in "build", following sub-directories:
|
We can find in "build", following sub-directories:
|
||||||
|
|
||||||
* aps:
|
|
||||||
To build APS package.
|
|
||||||
|
|
||||||
* debian:
|
* debian:
|
||||||
To build Debian package.
|
To build Debian package.
|
||||||
|
|
||||||
|
|||||||
@ -5,4 +5,4 @@ DOLIWAMP Package tools
|
|||||||
|
|
||||||
This directory contains files used by makepack-dolibarr.pl
|
This directory contains files used by makepack-dolibarr.pl
|
||||||
script to build the all-in-on .EXE package DoliWamp, ready
|
script to build the all-in-on .EXE package DoliWamp, ready
|
||||||
to be distributedt (for Windows).
|
to be distributed (for Windows).
|
||||||
@ -1058,7 +1058,7 @@ if ($nboftargetok) {
|
|||||||
$ret=`cat "$SOURCE/build/exe/doliwamp/doliwamp.iss" | sed -e 's/__FILENAMEEXEDOLIWAMP__/$FILENAMEEXEDOLIWAMP/g' > "$SOURCE/build/exe/doliwamp/doliwamp.tmp.iss"`;
|
$ret=`cat "$SOURCE/build/exe/doliwamp/doliwamp.iss" | sed -e 's/__FILENAMEEXEDOLIWAMP__/$FILENAMEEXEDOLIWAMP/g' > "$SOURCE/build/exe/doliwamp/doliwamp.tmp.iss"`;
|
||||||
|
|
||||||
print "Compil exe $FILENAMEEXEDOLIWAMP.exe file from iss file \"$SOURCEBACK\\build\\exe\\doliwamp\\doliwamp.tmp.iss\"\n";
|
print "Compil exe $FILENAMEEXEDOLIWAMP.exe file from iss file \"$SOURCEBACK\\build\\exe\\doliwamp\\doliwamp.tmp.iss\"\n";
|
||||||
$cmd= "ISCC.exe \"Z:$SOURCEBACK\\build\\exe\\doliwamp\\doliwamp.tmp.iss\"";
|
$cmd= "wine ISCC.exe \"Z:$SOURCEBACK\\build\\exe\\doliwamp\\doliwamp.tmp.iss\"";
|
||||||
print "$cmd\n";
|
print "$cmd\n";
|
||||||
$ret= `$cmd`;
|
$ret= `$cmd`;
|
||||||
#print "$ret\n";
|
#print "$ret\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user