1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dolibarr_ynh.git synced 2024-09-03 18:35:53 +02:00
dolibarr_ynh/sources/dolibarr/build
Laurent Peuch e6008fc691 init
2015-09-28 22:09:38 +02:00
..
aps init 2015-09-28 22:09:38 +02:00
debian init 2015-09-28 22:09:38 +02:00
dmg/dolimamp init 2015-09-28 22:09:38 +02:00
doap init 2015-09-28 22:09:38 +02:00
doxygen init 2015-09-28 22:09:38 +02:00
launchpad init 2015-09-28 22:09:38 +02:00
live init 2015-09-28 22:09:38 +02:00
obs init 2015-09-28 22:09:38 +02:00
pad init 2015-09-28 22:09:38 +02:00
patch init 2015-09-28 22:09:38 +02:00
pdf init 2015-09-28 22:09:38 +02:00
perl/virtualmin init 2015-09-28 22:09:38 +02:00
rpm init 2015-09-28 22:09:38 +02:00
sitemap init 2015-09-28 22:09:38 +02:00
tgz init 2015-09-28 22:09:38 +02:00
zip init 2015-09-28 22:09:38 +02:00
generate_filecheck_xml.php init 2015-09-28 22:09:38 +02:00
makepack-dolibarr.pl init 2015-09-28 22:09:38 +02:00
makepack-dolibarrmodule.conf init 2015-09-28 22:09:38 +02:00
makepack-dolibarrmodule.pl init 2015-09-28 22:09:38 +02:00
makepack-dolibarrtheme.pl init 2015-09-28 22:09:38 +02:00
makepack-howto.txt init 2015-09-28 22:09:38 +02:00
README init 2015-09-28 22:09:38 +02:00
README-FR init 2015-09-28 22:09:38 +02: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:
> 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.2e-php5.4.3-httpd-2.4.2-mysql5.5.24-x64.exe (http://www.wampserver.com)
> Install WampServer addon to have versions: Apache2.2.11, Mysql5.0.45, Php5.3.0
   For example by running WampServer2-APACHE2211.exe (http://www.wampserver.com)
   For example by running WampServer2-MYSQL5045.exe (http://www.wampserver.com)
   For example by running WampServer2-PHP530.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.

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

* aps:
To build APS package.

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