Skip to content

Makefile: add uninstall target#4797

Open
mvanhorn wants to merge 1 commit intocontainerd:mainfrom
mvanhorn:add-make-uninstall
Open

Makefile: add uninstall target#4797
mvanhorn wants to merge 1 commit intocontainerd:mainfrom
mvanhorn:add-make-uninstall

Conversation

@mvanhorn
Copy link

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>
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

1 participant