l3build: .txt files should be one of the "txtfiles"!


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5440 de43f980-851b-0410-b2f7-c40aca1f87e0
A clearer l3build 'fail' message

David asks, I supply :-)


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5441 de43f980-851b-0410-b2f7-c40aca1f87e0
l3build: Address the \askforoverwrite issue

When \askforoverwrite is true, TeX will ask for confirmation of file
creation if the file exists. It's difficult to arrange that no file is
generated twice, so despite the fact that unpacking is done in a 'safe'
place we could still get the warning. The solution is to create a file
containing lots of "y\n", and then feed that to TeX as part of the unpack
process.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5442 de43f980-851b-0410-b2f7-c40aca1f87e0
Use localdir for the 'yes' file


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5443 de43f980-851b-0410-b2f7-c40aca1f87e0
l3build: Generalise 'lots of chars' business


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5444 de43f980-851b-0410-b2f7-c40aca1f87e0
Missed a few "/"


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5445 de43f980-851b-0410-b2f7-c40aca1f87e0
l3build: Back to just handling 'y'

The 'enter' business is more complex: needs some discussion.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5446 de43f980-851b-0410-b2f7-c40aca1f87e0
l3build: Watch out for non-expected input in one normalisation function

The code assumed a "/" was present but didn't ensure this: now it is working
even with 'bad' input.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5447 de43f980-851b-0410-b2f7-c40aca1f87e0
l3build: Improve a few code comments

All of the normalisation here is logical and doesn't lose anything important,
so there is no reason to thing it will change.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5448 de43f980-851b-0410-b2f7-c40aca1f87e0
l3build: Allow for "-" in test names when removing during normalisation


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5449 de43f980-851b-0410-b2f7-c40aca1f87e0
l3build: Tighten up errorlevel return


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5450 de43f980-851b-0410-b2f7-c40aca1f87e0
A visual tidy


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5451 de43f980-851b-0410-b2f7-c40aca1f87e0
l3build: Include MakeIndex files in TDS-style zip

This mechanism can be extended for e.g. .bst files. At present, this applies
only as part of CTAN release but not part of local installation.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5452 de43f980-851b-0410-b2f7-c40aca1f87e0
l3build: More work on indexing


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5453 de43f980-851b-0410-b2f7-c40aca1f87e0
l3build: Ignore line ending type in tests

This already happens on Windows as fc doesn't care about LF vs. CRLF, so the
same on Unix makes life a little smoother.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5454 de43f980-851b-0410-b2f7-c40aca1f87e0
l3build: Extend txtfiles concept

The split here makes it clear which files loose an extension and which don't
and leaves "demofiles" as distinct from just "textfiles".


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5455 de43f980-851b-0410-b2f7-c40aca1f87e0
Minor typo


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5456 de43f980-851b-0410-b2f7-c40aca1f87e0
l3build: Make a makeindex TDS tree only if required


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5457 de43f980-851b-0410-b2f7-c40aca1f87e0
l3build: Stray test line removed

This was letting the build continue even if tests failed: oops!


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5458 de43f980-851b-0410-b2f7-c40aca1f87e0
Make some blank tests a little clearer

\if here is probably better than \ifx.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5459 de43f980-851b-0410-b2f7-c40aca1f87e0