I wrote:
> 
> Ralf Hemmecke wrote:
> > 
> > On 05/16/2014 02:48 PM, jiazhaoconga wrote:
> > > mkdir -p tmp
> > > gawk -f src/doc/secmenu.awk src/doc/htex/CLIF.htex 9 `sed -n '/^CLIF
> > > /=' examples.list` tmp > tmp/CLIF.menu
> > > gawk: src/doc/secmenu.awk:109: (FILENAME=src/doc/htex/CLIF.htex
> > > FNR=84) fatal: can't redirect to `20/ug9.19.menu' (No such file or
> > > directory)
> > 
> > I've looked into the script which gives me the impression that your
> > examples.list file is corrupt. Can you sent that to me and check whether
> > it's creation was OK? Logs?
> > 
> > It should start like
> > 
> > ALIST AssociationList
> > BBTREE BalancedBinaryTree
> 
> I can reproduce the problem on Debian stable.  Just build in source
> tree.  AFAICS all positions are doubled now because *.spad pattern
> catches not only unpacked files but also sources.  This seem to
> be the only difference.  In C locale using [A-Z]*.spad leads to
> correct build.

Maybe we should add something like:

spad.list:
        echo $(patsubst %, %.spad, ${NSPADLIST}) > spad.list

to the algebra Makefile and use it from doc Makefile.  Or maybe:

abbrev.list: $(patsubst %, %.spad, ${NSPADLIST})
        sed -n 's/^)abbrev [a-z]*  *\([A-Z0-9]*\) *\([^ ]*\)/\1 \2/p' \
          $(patsubst %, %.spad, ${NSPADLIST}) > abbrev.list

and use the abbrev.list file from doc Makefile.

Remark: AFAICS the regex above is should be good enough and is
shorter then current in doc Makefile. 


-- 
                              Waldek Hebisch
hebi...@math.uni.wroc.pl 

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to