Specifications ============== (I opt AGAINST @foobar, this makes perl code much more complicate!) 1) tlsrc -------- one file *WITHOUT* empty lines (but beginning and end) every line looks like key value possible keys are name (must be first) shortdesc longdesc catalogue runpatterns srcpatterns docpatterns binpatterns execute depend Interpretation: name name of the package catalogue name of the respective Catalogue entry, if missing, same as name (run|src|doc|bin)patterns (cheap/expensive means working time) current status: TYPE PAT TYPE = d f t t word1 ... wordN wordL include all files below all dirs of the form word1/.../wordN/.../wordL/... (cheap) d regexp include all files in directory mathing regexp (expensive) f regexp include all files matching regexp (expensive) new idea??? list of pattern of the form TYPE PAT where TYPE = d f t r and PAT is a free text t word1 ... wordN wordL include all files below all dirs of the form word1/.../wordN/.../wordL/... (cheap) d string include all files below the directory d (now expansion at all) (should we add glob expansion?) (cheap, with glob I don't know) f string include file string (should we add glob expansion?) (cheap, with glob I don't know) r regexp includes all files which are matched by regexp (expensive) Note that if one of the patterns section is empty an entry is automatically generated: for runpatterns: t texmf-dist topdir $tlp (with topdir = bibtex, context, ... see tlsrc2tlp.pl) for docpatterns: t texmf-dist doc $tlp for srcpatterns: t texmf-dist source $tlp for binpatterns: NONE!! execute free form is taken one to one into the tlp file depend is taken one to one into the tlp file shortdesc short one line desc is taken one to one into the tlp file if missing can be taken from Catalogue longdesc longer multiline dscription is taken one to one into the tlp file if missing can be taken from Catalogue 2) tlp file ----------- same format as tlsrc, but the keys are name revision shortdesc longdesc catalogue binfiles runfiles docfiles srcfiles execute depend ??? what am I missing ??? Interpretation obvious revision maxmimum of all the last_changed_revisions of all contained files 3) tldp file ------------ concatenation of all the tlp files, separated by empty line(s)