Skip to content

Document module-aware menuet.mk include path#48

Open
caseymrm wants to merge 1 commit into
masterfrom
modules-makefile-docs
Open

Document module-aware menuet.mk include path#48
caseymrm wants to merge 1 commit into
masterfrom
modules-makefile-docs

Conversation

@caseymrm

@caseymrm caseymrm commented Jul 2, 2026

Copy link
Copy Markdown
Owner

The README and the menuet.mk header both showed the pre-modules include path:

include $(GOPATH)/src/github.com/caseymrm/menuet/menuet.mk

which doesn't exist for Go-modules consumers (nothing is checked out under $(GOPATH)/src anymore). This updates both to locate menuet in the module cache:

include $(shell go list -m -f '{{.Dir}}' github.com/caseymrm/menuet)/menuet.mk

This is the pattern tally uses; make run works against the module cache copy (find(1) on the read-only cache dir for the source-change checks is fine).

🤖 Generated with Claude Code

https://claude.ai/code/session_01HmSeWbtYum34tu1PGBK1Lj

The README and menuet.mk header showed a $(GOPATH)/src include path,
which doesn't exist for Go-modules consumers. Recommend locating the
file in the module cache via go list -m instead.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HmSeWbtYum34tu1PGBK1Lj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants