Skip to content

chore(makefile): remove residual add-license no-op target#1788

Merged
earayu merged 1 commit into
mainfrom
chore/remove-residual-license-target
Apr 28, 2026
Merged

chore(makefile): remove residual add-license no-op target#1788
earayu merged 1 commit into
mainfrom
chore/remove-residual-license-target

Conversation

@earayu
Copy link
Copy Markdown
Collaborator

@earayu earayu commented Apr 28, 2026

Summary

The license-check infrastructure (check-license, install-addlicense, install-hooks, the bundled addlicense binary, the git-hook installer) was already removed in commit 00ae644f (PR #1729). The only remaining piece in Makefile is a no-op add-license target that just echoes a single line and does nothing else. This PR drops that stub along with its .PHONY entry.

License headers inside source files are not touched — every aperag/**.py keeps its Apache 2.0 header verbatim. The LICENSE file at the repo root is also untouched.

Why

  • make add-license runs @echo "License headers are maintained in source files." and that is its entire body. Keeping a stub for documentation purposes is dead weight; readers grep add-license and find nothing real.
  • No CI workflow, pre-commit hook, or script invokes the target — it has zero callers in .github/workflows/, scripts/, or anywhere else (verified with grep).

Test plan

  • git diff Makefile shows only the add-license target + its .PHONY listing removed
  • make -n add-license now reports No rule to make target 'add-license' (target gone)
  • make -n format still expands to the ruff commands (sibling targets intact)
  • No remaining add-license / addlicense / install-addlicense / check-license / install-hooks references anywhere in the repo
  • LICENSE file unchanged; license headers in source files unchanged

🤖 Generated with Claude Code

The license-check infrastructure (`check-license`, `install-addlicense`,
`install-hooks`, the bundled `addlicense` binary, and the git hooks
install) was already removed in commit 00ae644 (PR #1729). The
`add-license` target left behind only echoes a one-line message and
does nothing else, so it is dropped here along with its `.PHONY` entry.

License headers in source files are unchanged.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@earayu earayu merged commit d059cac into main Apr 28, 2026
7 checks passed
@earayu earayu deleted the chore/remove-residual-license-target branch April 28, 2026 09:32
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