On 19/03/2025 14:44, Brian Inglis via Cygwin-apps wrote:
On 2025-03-19 03:33, Carlo B. via Cygwin-apps wrote:
...> BTW, I take the chance to report something missing into this page:
https://cygwin.github.io/cygport/cygport_in.html
If you look into:
Chapter 3 => Format => Globals
near the various ${S}, ${B}, etc... it is missing the description of
${T}.
Unless I have understood wrong, ${T} points to the "temp" directory,
but its description is missing inside the list of the global
variables.
/usr/bin/cygport says:
...
# documented in lib/syntax.cygpart
declare -r B="${workdir}/build";
declare -r D="${workdir}/inst";
declare -r T="${workdir}/temp";
declare -r C="${S}/CYGWIN-PATCHES";
...
but /usr/share/cygport/lib/syntax.cygpart is missing something like:
#****d* Globals/T
# DESCRIPTION
# The temp directory. The directory where cygport-required intermediate
# files are placed: pkgcheck.lst, .<SUBPKG>….lst, .dbgsrc.…, etc.
#****
In user-facing documentation like this, there's no need to go into the
details of internals which might change and shouldn't be relied upon.
I'm also not sure when a cygport might need to use it, but I'll add some
documentation of ${T}.