Skip to content

Makefile: add uninstall target - #4797

Merged
AkihiroSuda merged 1 commit into
containerd:mainfrom
mvanhorn:add-make-uninstall
Mar 25, 2026
Merged

Makefile: add uninstall target#4797
AkihiroSuda merged 1 commit into
containerd:mainfrom
mvanhorn:add-make-uninstall

Conversation

@mvanhorn

Copy link
Copy Markdown
Contributor

Fixes #4791

Add a make uninstall target that reverses make install by removing:

  • $(DESTDIR)$(BINDIR)/nerdctl
  • $(DESTDIR)$(BINDIR)/containerd-rootless.sh
  • $(DESTDIR)$(BINDIR)/containerd-rootless-setuptool.sh
  • $(DESTDIR)$(DOCDIR)/nerdctl/ documentation directory

Also updates the help target and .PHONY list to include uninstall.


Developed with AI assistance (Claude Code)

Signed-off-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
@AkihiroSuda AkihiroSuda added this to the v2.3.0 milestone Mar 25, 2026

@AkihiroSuda AkihiroSuda left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda
AkihiroSuda merged commit b7b52ee into containerd:main Mar 25, 2026
46 of 56 checks passed
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.

Makefile should support make uninstall

2 participants