Skip to content

Commit

Permalink
Add uninstall make target
Browse files Browse the repository at this point in the history
  • Loading branch information
gammazero committed Oct 16, 2024
1 parent c997782 commit 595affd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,10 @@ build: example-plugin.so
install: build
mkdir -p "$(IPFS_PATH)/plugins/"
cp -f example-plugin.so "$(IPFS_PATH)/plugins/example-plugin.so"

clean:
rm -f example-plugin.so

uninstall:
rm -f "$(IPFS_PATH)/plugins/example-plugin.so"
rmdir "$(IPFS_PATH)/plugins/" 2>/dev/null

0 comments on commit 595affd

Please sign in to comment.