BTW, I was wondering why you use ${fricas_src_algdir} in

ALGEBRASOURCES=${fricas_src_algdir}

at https://github.com/hemmecke/fricas-svn/blob/master/src/doc/Makefile.in#L64

I think you could change it to

ALGEBRASOURCES=${fricas_target_srcdir}/algebra

and scan the untangled spad files instead, using ".spad" instead of
".spad.pamphlet" in this clause

examples.list: $(wildcard ${ALGEBRASOURCES}/*.spad)
     (for a in ${EXAMPLES}; do echo "-- $$a"; done; \
     sed -n 's/^)abb[a-z]* [a-z][a-z]*  *\([A-Z0-9][A-Z0-9]*\) *\([^
]*\)/\1 \2/p' ${ALGEBRASOURCES}/*.spad\
        ) | ${AWK} '{if($$1=="--"){a[$$2]=1}else{if($$1 in a){print}}}'\
          |  sort -k2 > $@

Scanning the pamphlet files seems a bit risky to me.


On 1 April 2014 16:38, Ralf Hemmecke <r...@hemmecke.org> wrote:
> On 03/28/2014 11:33 PM, Bill Page wrote:
>> When I make a small change to some src/algebra/xxx.spad.pamphlet file
>> and re-run 'make'  it does re-compile the pamphlet but then it spends
>> a lot more time re-creating the .ht files for hypertex.  Is there some
>> easy way to avoid that and only rebuild the hyperdoc stuff when I am
>> finished?
>
> That's probably my fault. The Makefile has surely not been created with
> your scenario in mind. Sorry.
>
> My guess is that line
>
> examples.list: $(wildcard ${ALGEBRASOURCES}/*.spad.pamphlet)
>
> https://github.com/hemmecke/fricas-svn/blob/master/src/doc/Makefile.in#L208
>
> is triggering the rebuild.
>
> Maybe (after the first build), you change the src/doc/Makefile into
>
>
> examples.list: # $(wildcard ${ALGEBRASOURCES}/*.spad.pamphlet)
>
> so that examples.list does not depend anymore on the modified files.
> There should still be some rebuild of .ht and .pht files, but shouldn't
> be so many. (I haven't tested, though.)
>
> If such a change really does help you then one could think about
> changing this target in Makefile.in and make it behave well for your
> situation.
>
> Ralf
>
> --
> 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.

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