From: Ian Jackson Date: Tue, 24 Dec 2019 00:49:00 +0000 (+0000) Subject: doctests: Extract and use X-Git-Tag: subdirmk/0.3~105 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?p=subdirmk.git;a=commitdiff_plain;h=78995cd20340b0a913870b10c096eb85fdc5f1a9;hp=78995cd20340b0a913870b10c096eb85fdc5f1a9 doctests: Extract and use Include the doctests from the toplevel Subdir.sd.mk. In check, extract the doctests, and seddery the expected output into the combined expected output file. This involves adding a comment in Subdir.mk.expected to indicate where the doctests will appear. In update-expected, contrive to strip the doctest output back out of the actual output so we can update only the manually-edited part. Consequential changes to MAKEFILE_TEMPLATES in main.mk.expected and .gitignore. Signed-off-by: Ian Jackson ---