Skip to content

Fix duplicate targets in listing after bind-hub restructure (v2.2.3)#38

Merged
AntonioCS merged 2 commits intomainfrom
fix/duplicate-targets-listing
Dec 15, 2025
Merged

Fix duplicate targets in listing after bind-hub restructure (v2.2.3)#38
AntonioCS merged 2 commits intomainfrom
fix/duplicate-targets-listing

Conversation

@AntonioCS
Copy link
Owner

Summary

  • Fix bug where targets appeared twice in make output after bind-hub restructure (v2.1.1)
  • Root cause: project.mk and config.mk weren't filtered out of $0_other_files_in_bind_hub_folder
  • Added %/project.mk and %/config.mk to filter-out patterns in mb_targets_list_get_files

Test plan

  • Verified fix in compression_api project - targets now appear once
  • Note: project/start/with_tests_support still appears twice due to duplicate ## comments in that project's project.mk (not a MakeBind issue)

- Add %/project.mk and %/config.mk to filter-out patterns in mb_targets_list_get_files
- These patterns were missing after v2.1.1 renamed mb_project.mk to project.mk and mb_config.mk to config.mk
- Without the filter, project.mk was included in both $0_files_project and $0_other_files_in_bind_hub_folder
@AntonioCS AntonioCS merged commit b7f9324 into main Dec 15, 2025
1 check failed
@AntonioCS AntonioCS deleted the fix/duplicate-targets-listing branch December 15, 2025 15:59
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.

1 participant