projects-dir.mk: Resolve JWB_SCRIPT_DIR from JWBDIR #103

Merged
Jan Lindemann merged 1 commit from jan/feature/20260913-projects-dir-mk-resolve-jwb-script-dir-from-jwbdir into master 2026-09-14 00:30:27 +02:00 AGit

projects-dir.mk: Resolve JWB_SCRIPT_DIR from JWBDIR

JWB_SCRIPT_DIR bypasses $(JWBDIR) for its scripts candidate, re-assembling ./$(JWBDIR_NAME)/scripts from the bare name. That works, but is redundant resolution machinery which should be removed per se.

Resolve the scripts directory from $(JWBDIR) instead. Aside from simplifying, that fixes the resolution when projects-dir.mk is included from Makefiles other than projects-dir-miminimal.mk, and complements work to commit f3f0ef10ca which also aims at allowing to run make from a bind-mounted dependency closure of repositories.

#### projects-dir.mk: Resolve JWB_SCRIPT_DIR from JWBDIR JWB_SCRIPT_DIR bypasses $(JWBDIR) for its scripts candidate, re-assembling ./$(JWBDIR_NAME)/scripts from the bare name. That works, but is redundant resolution machinery which should be removed per se. Resolve the scripts directory from $(JWBDIR) instead. Aside from simplifying, that fixes the resolution when projects-dir.mk is included from Makefiles other than projects-dir-miminimal.mk, and complements work to commit f3f0ef10ca9 which also aims at allowing to run make from a bind-mounted dependency closure of repositories.
projects-dir.mk: Resolve JWB_SCRIPT_DIR from JWBDIR
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 4m18s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 4m27s
CI / Packaging test (pull_request) Successful in 0s
a3a0ae847b
JWB_SCRIPT_DIR bypasses $(JWBDIR) for its scripts candidate, re-assembling
./$(JWBDIR_NAME)/scripts from the bare name. That works, but is redundant
resolution machinery which should be removed per se.

Resolve the scripts directory from $(JWBDIR) instead. Aside from
simplifying, that fixes the resolution when projects-dir.mk is included
from Makefiles other than projects-dir-miminimal.mk, and  complements work
to commit f3f0ef10ca which also aims at allowing to run make from a
bind-mounted dependency closure of repositories.

Signed-off-by: Jan Lindemann <jan@janware.com>
Jan Lindemann scheduled this pull request to auto merge when all checks succeed 2026-09-13 23:26:41 +02:00
Jan Lindemann force-pushed jan/feature/20260913-projects-dir-mk-resolve-jwb-script-dir-from-jwbdir from a3a0ae847b
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 4m18s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 4m27s
CI / Packaging test (pull_request) Successful in 0s
to e7da317575
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 4m43s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m0s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 4m45s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 4m49s
CI / Packaging test (push) Successful in 0s
2026-09-13 23:50:49 +02:00
Compare
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
janware/jw-pkg!103
No description provided.