Opened 10 years ago
Closed 10 years ago
#11115 closed bug (fixed)
Makefile-Engine refuses to use relative RDEFs
Reported by: | waddlesplash | Owned by: | pulkomandy |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Build System | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
- Create a new Makefile-Engine project
- Add some resources in a subdirectory (e.g. "resources/file.rdef")
- "make"
Fails because "no rule to make target file.rsrc needed by APPNAME". If you move the rdef to the directory the makefile is in and adjust the RDEF= accordingly, it works.
This isn't the behavior advertised in the template Makefile; it claims that relative paths should work just fine.
Attachments (1)
Change History (6)
by , 10 years ago
Attachment: | MakefileEngine.patch added |
---|
comment:1 by , 10 years ago
patch: | 0 → 1 |
---|
comment:2 by , 10 years ago
Attached is a patch file that fixes the problem for me. Sorry it isn't in git-patch format, but here's what I think the commit message should be:
Makefile-Engine: fix issues with paths. This resolves #11115 (relative RDEFs are not handled properly) as well as removing most of the remaining hardcoded paths. Should help with writing HaikuPorter recipes.
comment:3 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 10 years ago
Owner: | changed from | to
---|
Oh sorry Ingo, meant to assign this to Adrien. (He even reviewed it over IRC and said it looked good to him; he probably just hasn't pushed it yet.)
comment:5 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Applied an even simpler fix in hrev47672.
patch