What I've done! :-( Sorry for my mistake. I will fix right now.

On Sat, May 9, 2009 at 11:48 AM, Gustavo Sverzut Barbieri
<barbi...@profusion.mobi> wrote:
> This is wrong, first with -p you don't need to check before, then you
> do the wrong compare stmt, it should be 'if [ ! -d ...'
>
> On 5/8/09, Enlightenment SVN <no-re...@enlightenment.org> wrote:
>> Log:
>>   Checking for the documetation dir before python-* doc generation
>> Author:       rbelem
>> Date:         2009-05-08 19:23:49 -0700 (Fri, 08 May 2009)
>> New Revision: 40561
>>
>> Modified:
>>   trunk/BINDINGS/python/python-e_dbus/gen-doc-api.sh
>> trunk/BINDINGS/python/python-ecore/gen-doc-api.sh
>> trunk/BINDINGS/python/python-edje/gen-doc-api.sh
>> trunk/BINDINGS/python/python-emotion/gen-doc-api.sh
>> trunk/BINDINGS/python/python-epsilon/gen-doc-api.sh
>> trunk/BINDINGS/python/python-evas/gen-doc-api.sh
>>
>> Modified: trunk/BINDINGS/python/python-e_dbus/gen-doc-api.sh
>> ===================================================================
>> --- trunk/BINDINGS/python/python-e_dbus/gen-doc-api.sh        2009-05-09 
>> 00:38:17
>> UTC (rev 40560)
>> +++ trunk/BINDINGS/python/python-e_dbus/gen-doc-api.sh        2009-05-09 
>> 02:23:49
>> UTC (rev 40561)
>> @@ -2,6 +2,7 @@
>>
>>  pyver=`python -c 'import sys; print "%d.%d" % sys.version_info[0:2]'`
>>  regex=lib\.[a-z0-9]*-[a-z0-9]*-$pyver
>> +destdir="doc/api/html"
>>
>>  for d in `ls build`; do
>>      if [[ $d == $regex ]]; then
>> @@ -11,6 +12,10 @@
>>
>>  export PYTHONPATH="`pwd`/build/$d"
>>
>> -epydoc --html -o doc/api/html \
>> +if [ -d $destdir ]; then
>> +    mkdir -p $destdir
>> +fi
>> +
>> +epydoc --html -o $destdir \
>>      -n "Python-E_Dbus API" \
>>      e_dbus
>>
>> Modified: trunk/BINDINGS/python/python-ecore/gen-doc-api.sh
>> ===================================================================
>> --- trunk/BINDINGS/python/python-ecore/gen-doc-api.sh 2009-05-09 00:38:17
>> UTC (rev 40560)
>> +++ trunk/BINDINGS/python/python-ecore/gen-doc-api.sh 2009-05-09 02:23:49
>> UTC (rev 40561)
>> @@ -2,6 +2,7 @@
>>
>>  pyver=`python -c 'import sys; print "%d.%d" % sys.version_info[0:2]'`
>>  regex=lib\.[a-z0-9]*-[a-z0-9]*-$pyver
>> +destdir="doc/api/html"
>>
>>  for d in `ls build`; do
>>      if [[ $d == $regex ]]; then
>> @@ -11,7 +12,11 @@
>>
>>  export PYTHONPATH="`pwd`/build/$d"
>>
>> -epydoc --html -o doc/api/html \
>> +if [ -d $destdir ]; then
>> +    mkdir -p $destdir
>> +fi
>> +
>> +epydoc --html -o $destdir \
>>      -n "Python-Ecore API" \
>>      ecore.c_ecore \
>>      ecore.evas.c_ecore_evas \
>>
>> Modified: trunk/BINDINGS/python/python-edje/gen-doc-api.sh
>> ===================================================================
>> --- trunk/BINDINGS/python/python-edje/gen-doc-api.sh  2009-05-09 00:38:17 UTC
>> (rev 40560)
>> +++ trunk/BINDINGS/python/python-edje/gen-doc-api.sh  2009-05-09 02:23:49 UTC
>> (rev 40561)
>> @@ -2,6 +2,7 @@
>>
>>  pyver=`python -c 'import sys; print "%d.%d" % sys.version_info[0:2]'`
>>  regex=lib\.[a-z0-9]*-[a-z0-9]*-$pyver
>> +destdir="doc/api/html"
>>
>>  for d in `ls build`; do
>>      if [[ $d == $regex ]]; then
>> @@ -11,7 +12,11 @@
>>
>>  export PYTHONPATH="`pwd`/build/$d"
>>
>> -epydoc --html -o doc/api/html \
>> +if [ -d $destdir ]; then
>> +    mkdir -p $destdir
>> +fi
>> +
>> +epydoc --html -o $destdir \
>>      -n "Python-Edje API" \
>>      edje.c_edje \
>>      edje.decorators
>>
>> Modified: trunk/BINDINGS/python/python-emotion/gen-doc-api.sh
>> ===================================================================
>> --- trunk/BINDINGS/python/python-emotion/gen-doc-api.sh       2009-05-09 
>> 00:38:17
>> UTC (rev 40560)
>> +++ trunk/BINDINGS/python/python-emotion/gen-doc-api.sh       2009-05-09 
>> 02:23:49
>> UTC (rev 40561)
>> @@ -2,6 +2,7 @@
>>
>>  pyver=`python -c 'import sys; print "%d.%d" % sys.version_info[0:2]'`
>>  regex=lib\.[a-z0-9]*-[a-z0-9]*-$pyver
>> +destdir="doc/api/html"
>>
>>  for d in `ls build`; do
>>      if [[ $d == $regex ]]; then
>> @@ -11,7 +12,11 @@
>>
>>  export PYTHONPATH="`pwd`/build/$d"
>>
>> -epydoc --html -o doc/api/html \
>> +if [ -d $destdir ]; then
>> +    mkdir -p $destdir
>> +fi
>> +
>> +epydoc --html -o $destdir \
>>      -n "Python-Emotion API" \
>>      emotion.c_emotion
>>
>>
>> Modified: trunk/BINDINGS/python/python-epsilon/gen-doc-api.sh
>> ===================================================================
>> --- trunk/BINDINGS/python/python-epsilon/gen-doc-api.sh       2009-05-09 
>> 00:38:17
>> UTC (rev 40560)
>> +++ trunk/BINDINGS/python/python-epsilon/gen-doc-api.sh       2009-05-09 
>> 02:23:49
>> UTC (rev 40561)
>> @@ -2,6 +2,7 @@
>>
>>  pyver=`python -c 'import sys; print "%d.%d" % sys.version_info[0:2]'`
>>  regex=lib\.[a-z0-9]*-[a-z0-9]*-$pyver
>> +destdir="doc/api/html"
>>
>>  for d in `ls build`; do
>>      if [[ $d == $regex ]]; then
>> @@ -11,7 +12,11 @@
>>
>>  export PYTHONPATH="`pwd`/build/$d"
>>
>> -epydoc --html -o doc/api/html \
>> +if [ -d $destdir ]; then
>> +    mkdir -p $destdir
>> +fi
>> +
>> +epydoc --html -o $destdir \
>>      -n "Python-Epsilon API" \
>>      epsilon.c_epsilon \
>>      epsilon.request
>>
>> Modified: trunk/BINDINGS/python/python-evas/gen-doc-api.sh
>> ===================================================================
>> --- trunk/BINDINGS/python/python-evas/gen-doc-api.sh  2009-05-09 00:38:17 UTC
>> (rev 40560)
>> +++ trunk/BINDINGS/python/python-evas/gen-doc-api.sh  2009-05-09 02:23:49 UTC
>> (rev 40561)
>> @@ -2,6 +2,7 @@
>>
>>  pyver=`python -c 'import sys; print "%d.%d" % sys.version_info[0:2]'`
>>  regex=lib\.[a-z0-9]*-[a-z0-9]*-$pyver
>> +destdir="doc/api/html"
>>
>>  for d in `ls build`; do
>>      if [[ $d == $regex ]]; then
>> @@ -11,7 +12,11 @@
>>
>>  export PYTHONPATH="`pwd`/build/$d"
>>
>> -epydoc --html -o doc/api/html \
>> +if [ -d $destdir ]; then
>> +    mkdir -p $destdir
>> +fi
>> +
>> +epydoc --html -o $destdir \
>>      -n "Python-Evas API" \
>>      evas.c_evas \
>>      evas.debug \
>>
>>
>> ------------------------------------------------------------------------------
>> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
>> production scanning environment may not be a perfect world - but thanks to
>> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
>> i700
>> Series Scanner you'll get full speed at 300 dpi even with all image
>> processing features enabled. http://p.sf.net/sfu/kodak-com
>> _______________________________________________
>> enlightenment-svn mailing list
>> enlightenment-...@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>>
>
> --
> Sent from my mobile device
>
> Gustavo Sverzut Barbieri
> http://profusion.mobi embedded systems
> --------------------------------------
> MSN: barbi...@gmail.com
> Skype: gsbarbieri
> Mobile: +55 (19) 9225-2202
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to