Closed cmarchand closed 7 years ago
Commit #040e584 solve this. Two new pseudo-variables are created :
input-relative-file
, which is the relative file path to folder/@href, or absolute file path if not applyableinput-relative-dir
, which is the relative file's parent dir path to folder/@href, or absolute file's parent dir path if not applyableIt's now possible to have the same directory structure in output than in sources :
<output>
<folder absolute="$[outputDir]/$[input-relative-dir]"/>
<file name="$[input-name]"/>
</output>
When a source file is found via a
<folder />
, there is no way to know the relative path of the file to folder/@hrefIt'll be great to add a pseudo variable that we could use in a output, to reproduce the source directory structure in the output folder