Patrice Dumas wrote:
> > > I am not sure about what to do.  One option would be to add a
> > > Makefile.am in tta/perl/t and in tta/perl/t/results and a Makefile.am
> > > in each of the tta/perl/t/results subdirs and generate the list of lies
> > > for each of those directories.

Will this solve the problem, or will the problem reappear when there are
3000 or 4000 files?

> > Another idea is to store the long list of files names in a separate file,
> > not EXTRA_DIST, and use a 'dist-hook' target [1] that copies these files
> > into $(distdir).
> 
> My feeling is that it is more complicated to do that portably than
> adding Makefile.am by subdirectory, at least I wouldn't know how to.

I have a similar thing in GNU gettext. Quite easy:

dist-hook: dist-many-files

dist-many-files:
        $(MKDIR_P) $(distdir)/
        for file in `cat $(srcdir)/many-files.txt`; do \
          if test -f $$file; then d=.; else d=$(srcdir); fi; \
          cp -p $$d/$$file $(distdir)/$$file || exit 1; \
        done

Bruno




  • &quo... Bruno Haible via Bug reports for the GNU Texinfo documentation system
    • ... Gavin Smith
    • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
      • ... Patrice Dumas
    • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
      • ... Patrice Dumas
        • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
          • ... Patrice Dumas
            • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
              • ... Patrice Dumas
                • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
                • ... Patrice Dumas

Reply via email to