Commit 4ebc1a2
committed
Scope prepare-gems dep to docs goals only
Per @chatgpt-codex-connector review on #4: making ext/configure-ext.mk
unconditionally depend on prepare-gems meant plain \`make\`/\`main\`
builds would chain into update-gems, which fetches bundled-gem
archives over the network. That breaks offline builds on a fresh
checkout and mutates the source tree in a way unrelated to the
requested target.
Move the dep to defs/gmake.mk under a MAKECMDGOALS filter for the
docs targets (rdoc, rdoc:%, html, html-server, rdoc-coverage), which
are the only ones whose recipes need bundled-gem extensions
activatable. Plain \`make\` no longer pulls the prepare-gems chain.
Verified:
- \`make -n html\` shows "Extracting bundle gem ..." lines
- \`make -n\` (plain) shows no extraction or download
- \`rm -rf .bundle && make html\` still completes (13895 items)
https://claude.ai/code/session_01YRoRyZPew2LtN6u6BX8bzx1 parent 1662ca0 commit 4ebc1a2
2 files changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
350 | | - | |
| 349 | + | |
351 | 350 | | |
352 | 351 | | |
353 | 352 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
361 | 370 | | |
362 | 371 | | |
363 | 372 | | |
| |||
0 commit comments