summaryrefslogtreecommitdiff
path: root/new-infra/specification.txt
diff options
context:
space:
mode:
Diffstat (limited to 'new-infra/specification.txt')
-rw-r--r--new-infra/specification.txt58
1 files changed, 49 insertions, 9 deletions
diff --git a/new-infra/specification.txt b/new-infra/specification.txt
index e1e393ada26..57c66d2cb09 100644
--- a/new-infra/specification.txt
+++ b/new-infra/specification.txt
@@ -28,19 +28,59 @@ catalogue
name of the respective Catalogue entry, if missing, same as name
(run|src|doc|bin)pattern
+ (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
+ TYPE = d f t r
and PAT is a free text
- if there is a line
- pattern d texmf-dist/.*/foobar
- then all files in leaf directories named foobar under texmf-dist
- are included
- a line
- pattern f bin/${ARCH}/.*${EXT}
- includes all files which are in bin/$ARCH/ and have extension ${EXT}
- where ARCH and EXT are expanded by the tlsrc interpreter
+
+ 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