Skip to content
Snippets Groups Projects
user avatar
Laurent Destailleur authored
5541d1bf
History
README (English)
##################################################
Building packages
##################################################

All sub-directories of "build" directory contains files required to build
automatically Dolibarr packages.
There are several tools:

- To build full Dolibarr packages, launch the script
> Edit version in makepack-dolibarr.pl file.
> Launch command perl makepack-dolibarr.pl

- To build a translaction package, launch the script
> perl makepack-dolibarrlang.pl

- To build a theme package, launch the script
> perl makepack-dolibarrtheme.pl

- To build a package for a module, launch the script
> perl makepack-dolibarrmodule.pl

- To build an autoexe DoliWamp package:
> Install InnoSetup (http://www.jrsoftware.org)
> Install WampServer into "C:\Program Files\Wamp" (http://www.wampserver.com)
> Install WampServer addon to have versions:
   Apache2.2.6, Mysql5.0.45, Php5.2.5
> Modify file build/exe/doliwamp.iss to change variable SourceDir
  with value of Dolibarr repository.
> Modify AppVerName and OutputBaseFilename.
> Launch innosetup, open file build/exe/doliwamp.iss and click on
  button "Compile". The .exe file will be build into directory build.

- To build developper documentation, launch the script
> perl dolybarr-doxygen-build.pl


Note: 
The build directory and all its contents is absolutely not required to make
Dolibarr working. It is here only to build Dolibarr packages, and those
generated packages will not contains this "build" directory.


We can find in "build", following sub-directories:

* deb:
To build Debian package.

* rpm:
To build Redhat or Mandrake package.

* tgz:
To build a tgz package.

* exe:
To build exe package for Windows that distribute Dolibarr sources or
to build the complete DoliWamp package.

* tgz:
To build a zip package.

* doap:
To build Doap descriptor to promote/describe Dolibarr releases.

* pad:
To build a PAD file descriptor to promote/describe Dolibarr releases.

* patch:
Script file to generate a patch file to distribute a Dolibarr mod.

* dmg:
To build dmg DoliMamp package for Mac OS X