No real change to the workflow, but in rebuilding my Makefile construction I found I’d missed a step, and misrepresented a couple of relationships.
- Added ‘Base’ step between ‘DocX’ and ‘Clean’. I actually wasn’t processing the XML files directly from the DocX file, I was extracting them to disk first.
- Removed the edge between ‘Index’ and ‘LinkText’. The ListText step does still use the Index file, but that relationship is implied by the edge between ‘Index’ and ‘Link’.
- Changed the edges from ‘Index’ to ‘Link’ and from ‘Master’ to ‘Package’ to a dashed style. The Index and Master files are used for the Link and Package transformations, but make(1) does not consider them dependencies of those transformations. I often let them get a little out of date while working on a document or making minor edits, before rebuilding them when preparing a formal build.