I could not reproduce this.
If I do b/* it will be executed once for b.
Anyway, if you are sure the modification works, it is great.
I just don't understand why it defer.

Thanks,
Alon.

On 10/9/08, Ludovic Rousseau <[EMAIL PROTECTED]> wrote:
> On Thu, Oct 9, 2008 at 6:25 PM, Alon Bar-Lev <[EMAIL PROTECTED]> wrote:
>  > I was not aware of any problem, can you please provide some sample?
>  > I worked very hard to make it work with automake generation of rules.
>
>
> The problem, if I understand correctly, is that you have have
>  something like (after expansion of man.out/* as man.out/foo and
>  man.out/bar):
>
>  man.out/foo.1: api.work
>
>         test -n "$(XSLTPROC)"
>         -rm -fr man.tmp man.out
>         $(MKDIR_P) man.tmp
>
>         $(XSLTPROC) --nonet --path "$(srcdir)/api" --xinclude -o "man.tmp/"
>  "api.work/man.xsl" "$(srcdir)/api/api.xml"
>         $(XSLTPROC) --nonet --path "$(srcdir)/api" --xinclude -o "man.tmp/"
>  "api.work/man.xsl" "$(srcdir)/tools/tools.xml"
>         mv man.tmp man.out
>
>  man.out/bar.1: api.work
>
>         test -n "$(XSLTPROC)"
>         -rm -fr man.tmp man.out
>         $(MKDIR_P) man.tmp
>
>         $(XSLTPROC) --nonet --path "$(srcdir)/api" --xinclude -o "man.tmp/"
>  "api.work/man.xsl" "$(srcdir)/api/api.xml"
>         $(XSLTPROC) --nonet --path "$(srcdir)/api" --xinclude -o "man.tmp/"
>  "api.work/man.xsl" "$(srcdir)/tools/tools.xml"
>         mv man.tmp man.out
>
>
>  This would execute the rules for each man.out/*.
>  And if you use more than one make job at the same time (using make -j)
>  the rules will be executed in parallel with nasty effects.
>
>  With my patch all manpages will depend on 1 uniq target man.out and
>  this target will be generated only one time.
>
>  I can provide traces tomorrow if needed.
>
>  Bye
>
>
>  --
>   Dr. Ludovic Rousseau
>
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to