You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Relative path from this html target back to $(DOC_OUT_HTML)/, used to
1218
1249
# point the lcnc-overrides.css <link> in docinfo.html at the right place.
1219
1250
# Every output now lives under a $(DOC_OUT_HTML)/<lang>/ subtree, so depth
@@ -1282,24 +1313,32 @@ endef
1282
1313
# components_gen.adoc generates straight into build/adoc/en/hal; svgs_made_from_dots
1283
1314
# runs first.
1284
1315
#
1285
-
# One rule per staged file, not a bulk find|tar behind a stamp with the staged copies hanging off it order-only.
1286
-
# make stats a prerequisite once per run and re-stats it only if it decided to remake it, and an order-only edge never triggers a remake.
1287
-
# A bulk copy that rewrote the staged .adoc mid-run was therefore invisible to the renderer, which had already compared the .html against the pre-copy mtime, so editing a page took two `make` runs to reach the HTML: the first re-staged, the second rendered.
1288
-
# With a real recipe per file make knows the staged copy changed and the render fires in the same run.
1316
+
# One rule per staged file, not a bulk copy behind a stamp with the staged
1317
+
# copies hanging off it order-only. make stats a prerequisite once per run
1318
+
# and re-stats it only if it decided to remake it, which an order-only edge
1319
+
# never triggers, so a bulk copy rewriting the staged .adoc mid-run stayed
1320
+
# invisible and editing a page took two `make` runs to reach the HTML.
# cp -p keeps the source mtime to the nanosecond; tar rounded it down to the whole second, which could leave a staged copy a fraction older than a .html rendered from it in the same second and lose that edit entirely.
1325
+
# cp -p keeps the source mtime to the nanosecond. tar rounded down to the
1326
+
# whole second, which could leave a staged copy a shade older than a .html
1327
+
# rendered from it in that same second and lose the edit.
# Stage the whole set before anything reads it, the way the bulk copy did. On-demand staging is not enough: asciidoctor resolves include:: and image: against the staged tree at render time, and asciideps recurses into included files there, but only a fraction of those are make prerequisites. Leave it to demand and a partial like hal/halshow.adoc never lands, so the page that includes it renders an "Unresolved directive" placeholder instead of its content.
1332
+
# Stage the whole set up front, as the bulk copy did. On demand is not
1333
+
# enough: asciidoctor resolves include:: and image: against this tree at
1334
+
# render time and asciideps recurses into it, yet few of those files are make
1335
+
# prerequisites. Left to demand, a partial like hal/halshow.adoc never lands
1336
+
# and the page including it renders an "Unresolved directive" placeholder.
1299
1337
.PHONY: stage-en
1300
1338
stage-en: $(EN_STAGED)
1301
1339
1302
-
# Staged files are used only as prerequisites: mark .SECONDARY so make does not delete them as intermediates mid -j build (like the .SECONDARY above).
1340
+
# Staged files are used only as prerequisites: mark .SECONDARY so make does
1341
+
# not delete them as intermediates mid -j build (like the .SECONDARY above).
1303
1342
.SECONDARY: $(EN_STAGED)
1304
1343
1305
1344
# English now renders from build/adoc/en, the same model as the translations.
0 commit comments