dolibarr/build
Laurent Destailleur 38d4284638 Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/db/pgsql.class.php
	htdocs/core/modules/facture/doc/pdf_crabe.modules.php
	htdocs/filefunc.inc.php
	htdocs/imports/import.php
	htdocs/supplier_proposal/card.php
2019-02-08 11:26:08 +01:00
..
composer Minor fixes in css 2016-11-12 16:39:08 +01:00
debian Fix add include for binary 2018-12-04 17:35:22 +01:00
dmg/dolimamp Qual: remove PHP closing tag (again) 2014-05-26 13:51:25 +02:00
doap Qual: Removed useless file 2011-10-13 17:49:25 +02:00
docker fix docker image creation + xdebug 2018-11-30 13:04:06 +01:00
doxygen update with html5 compliant code 2019-01-21 21:06:36 +01:00
exe/doliwamp Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into develop 2019-01-27 18:27:58 +01:00
flatpack Clean build files 2018-10-11 09:22:09 +02:00
launchpad Update doc 2016-10-30 14:28:30 +01:00
obs Update doc 2016-10-30 14:28:30 +01:00
pad Fix english 2017-02-09 22:02:37 +01:00
patch Fix: remove obsolete tags (in progress) 2011-08-27 14:24:16 +00:00
pdf Work on pdf doc generator 2014-02-10 00:25:16 +01:00
perl/virtualmin FIX wrong value for instal lock 2018-12-03 13:31:28 +01:00
rpm Prepare module 2018-10-29 11:21:57 +01:00
sitemap natural search in list pages 2013-09-16 14:17:53 +02:00
tgz Fix: Solve problem of _source directory. 2014-04-13 01:28:44 +02:00
travis-ci Try to trap apache log 2019-01-19 17:38:05 +01:00
zip Fix: Solve problem of _source directory. 2014-04-13 01:28:44 +02:00
.gitignore Fix #3930 Removed executable bit 2015-12-09 13:28:36 +01:00
generate_filelist_xml.php wip 2019-01-27 13:23:32 +01:00
makepack-dolibarr.pl NEW Add protection to avoid packaging if files non indexed exists into 2019-02-08 10:41:11 +01: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 Accept the custom folder #7408 2017-09-15 14:40:51 +02:00
makepack-dolibarrtheme.pl Remove hardcoded strings 2013-11-30 10:58:43 +01:00
makepack-howto.txt Update doc 2019-01-16 20:56:11 +01:00
README Fix packager and doc 2019-01-18 13:12:09 +01: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
> Launch command perl makepack-dolibarr.pl

Note: Prerequisites to build tgz, debian, rpm package
> apt-get install tar dpkg dpatch p7zip-full rpm zip

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
   For example by running isetup-5.3.9.exe (http://www.jrsoftware.org)
> Install WampServer into "C:\Program Files\Wamp"
   For example by running wampserver2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-32b.exe (http://www.wampserver.com)
> Install WampServer addon to have versions: Mysql5.0.45
   For example by running WampServer2-MYSQL5045.exe (http://www.wampserver.com)
> To build from Windows (running from makepack-dolibarr.pl script is however
  recommanded), open file build/exe/doliwamp.iss and click on button "Compile".
  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
> perl makepack-dolibarrtheme.pl

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

- 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:

* debian:
To build Debian package.

* dmg:
To build Mac OS package (not ready yet).

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

* doxygen:
Dir with config file to build doxygen documentation.

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

* launchpad:
Doc file to explain how to use launchpad.

* live:
Doc file to explain how to create a demo live CD.

* obs:
Doc file to explain how to push release onto OBS.

* 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.

* perl:
Tool to install dolibarr when using virtualmin pro

* rpm:
To build Redhat, Opensuse or Mandriva package.

* tgz:
To build a tgz package.

* zip:
To build a zip package.