Author: sebastien.lelong
Date: Tue Mar 31 13:57:58 2009
New Revision: 904
Modified:
trunk/tools/jalapi_generate.sh
trunk/tools/jallib.py
Log:
fix doc generation
Modified: trunk/tools/jalapi_generate.sh
==============================================================================
--- trunk/tools/jalapi_generate.sh (original)
+++ trunk/tools/jalapi_generate.sh Tue Mar 31 13:57:58 2009
@@ -16,7 +16,7 @@
htmlfile="`echo $basefile | sed 's#\.jal$#.html#'`"
libname=`echo $basefile | sed 's#\.jal$##'`
echo -n "Generating doc for $basefile... "
- echo python jallib.py jalapi -t jalapi_html.tmpl -d $JALLIB_SAMPLEDIR
-o
$HTMLDOCDIR/$htmlfile $jalfile
+ python jallib.py jalapi -t jalapi_html.tmpl -d $JALLIB_SAMPLEDIR -o
$HTMLDOCDIR/$htmlfile $jalfile
status=$?
if [ "X$status" = "X0" ]
then
Modified: trunk/tools/jallib.py
==============================================================================
--- trunk/tools/jallib.py (original)
+++ trunk/tools/jallib.py Tue Mar 31 13:57:58 2009
@@ -824,7 +824,7 @@
# search samples using this file
libname = re.sub("\.jal$","",os.path.basename(jalfile))
def use_lib(dir,sample):
- return libname in find_includes(os.path.join(sampledir,sample))
+ return libname in
find_includes(os.path.join(sampledir,dir,sample))
samples = get_jal_filenames(sampledir,predicate=use_lib).values()
dsamples = {}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---