root/tags/release_1.0beta3/Makefile

Revision 737, 1.8 kB (checked in by laurentj, 10 months ago)

fixed bug #412: sql error on dbAclDriver::getRight when a user is not in a group
Added also a listener for jAclDb which allow to register automatically a user in jAclDb when the user is created

Line 
1
2 SHELL=/bin/sh
3 PHP=/usr/bin/php
4 PHPDOC=../../../phpdoc/
5
6 CURRENT_PATH = $(shell pwd)
7
8 ifdef DISTPATH
9 DISTPATHSWITCH="MAIN_TARGET_PATH=$(DISTPATH)"
10 else
11 DISTPATH=_dist
12 DISTPATHSWITCH="MAIN_TARGET_PATH=_dist"
13 endif
14 ifdef TESTPATH
15 TESTPATHSWITCH="MAIN_TARGET_PATH=$(TESTPATH)"
16 else
17 TESTPATH=_dev
18 TESTPATHSWITCH="MAIN_TARGET_PATH=_dev"
19 endif
20 ifndef DOCSPATH
21 DOCSPATH=_docs
22 endif
23
24 default:
25         @echo "target:"
26         @echo " nightlies : "
27         @echo "     généerations des packages des nightly build"
28         @echo " docs : "
29         @echo "     Génération de la doc"
30         @echo "paramètres facultatifs (valeurs actuelles) :"
31         @echo "   DISTPATH : repertoire cible pour les distributions (" $(DISTPATH) ")"
32         @echo "   TESTPATH : repertoire cible pour developper (" $(TESTPATH) ")"
33
34 nightlies:
35         $(PHP) build/buildjelix.php -D $(DISTPATHSWITCH) build/config/jelix-dist-dev.ini
36         $(PHP) build/buildjelix.php -D $(DISTPATHSWITCH) build/config/jelix-dist-opt.ini
37         $(PHP) build/buildjelix.php -D $(DISTPATHSWITCH) build/config/jelix-dist-gold.ini
38         $(PHP) build/buildapp.php -D $(DISTPATHSWITCH) build/config/testapp-dist.ini
39         $(PHP) build/buildjbt.php -D $(DISTPATHSWITCH) build/config/jbt-dist.ini
40         $(PHP) build/buildjtpl.php -D $(DISTPATHSWITCH) build/config/jtpl-dist.ini
41         $(PHP) build/buildapp.php -D $(DISTPATHSWITCH) build/config/myapp-dist.ini
42         $(PHP) build/buildmodules.php -D $(DISTPATHSWITCH) build/config/modules-dist.ini
43
44
45 docs: 
46         $(PHP) build/buildjelix.php -D $(TESTPATHSWITCH) build/config/jelix-test.ini
47         cp -R -f build/phpdoc/Converters/HTML/frames $(PHPDOC)phpDocumentor/Converters/HTML/
48         $(PHPDOC)phpdoc  -d $(TESTPATH)/lib/jelix/ -t $(DOCSPATH) \
49         -o "HTML:frames:DOM/jelix" -s on -ct "contributor,licence" -i *.ini.php \
50         -ti "Jelix API Reference" -ric "README,INSTALL,CHANGELOG,CREDITS,LICENCE,VERSION,BUILD"
51         # -tb $(CURRENT_PATH)/build/phpdoc/
52
Note: See TracBrowser for help on using the browser.
Download in other formats: Plain Text Original Format