2 ms·
Mind documenting and displaying your toolchain? Would be interesting to see how you do it with Makefiles.
by falcolas 11y ago
Mind documenting and displaying your toolchain? Would be interesting to see how you do it with Makefiles.
- black_knight 11y agoI'll do a more thorough write-up some time, but I do the obvious thing — use meta rules to generate the files using the appropriate tools. I use Pandoc to convert to html and glue together the files. An index file lists which files go to the server. Some files are html only, others are also available as PDF. Some of the things I do are less obvious. There is a rule to make the target «deadlinks» which iterates through the resulting html files and attempts to fetch the (first bytes) of each linke. The links which fail go into deadlinks. There is also a target which lists spelling mistakes. The deployment target is configured to fail if there are dead links or spelling-mistakes (there are also a few other sanity checks).