dolibarr/build
Laurent Destailleur f4f627f3be Fix typo
2012-11-17 11:51:20 +01:00
..
aps Work on APS 1.2 2011-10-17 13:47:24 +02:00
debian Beautify instal pg. 2012-10-07 20:04:07 +02:00
dmg/dolimamp Work on packages 2011-06-26 01:52:59 +00:00
doap Qual: Removed useless file 2011-10-13 17:49:25 +02:00
doxygen Fix: update version 2012-04-12 08:36:01 +02:00
exe/doliwamp Update packagers 2012-10-18 23:33:22 +02:00
launchpad Try to fix warning of warning of buildroot and desktop into packaging 2012-10-23 23:45:32 +02:00
live Update build live cd howto 2008-10-03 17:00:17 +00:00
obs Start README to describe usage of OBS packaging platform 2012-10-24 02:15:47 +02:00
pad Doc 2012-11-07 20:04:33 +01:00
patch Fix: remove obsolete tags (in progress) 2011-08-27 14:24:16 +00:00
perl/virtualmin Fix: update virtualmin script 2012-08-31 11:55:53 +02:00
rpm New: Add hidden option MAIN_PDF_MARGIN_LEFT, MAIN_PDF_MARGIN_RIGHT, 2012-10-31 13:48:59 +01:00
tgz New: Trigger now have a priority to define sort execution order. 2012-01-31 20:32:26 +01:00
zip odt templates for invoices are included 2012-03-28 16:53:18 +02:00
.gitignore Exclude generated doxygen from sources 2011-10-16 14:08:06 +02:00
makepack-dolibarr.pl Fix typo 2012-11-17 11:51:20 +01:00
makepack-dolibarrlang.pl Fix: permission execute on perl script 2012-08-04 00:17:34 +02:00
makepack-dolibarrmodule.conf New: Trigger now have a priority to define sort execution order. 2012-01-31 20:32:26 +01:00
makepack-dolibarrmodule.pl Fix: permission execute on perl script 2012-08-04 00:17:34 +02:00
makepack-dolibarrtheme.pl Fix: permission execute on perl script 2012-08-04 00:17:34 +02:00
makepack-howto.txt Update doc 2012-09-26 13:35:08 +02:00
README Move script to build doxygen into build directory. 2009-12-28 12:57:36 +00:00
README-FR Move script to build doxygen into build directory. 2009-12-28 12:57:36 +00:00

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