Skip to content

Commit 7337979

Browse files
committed
Fix Makefile uninstall target
1 parent 8f2c973 commit 7337979

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: Makefile

+5-2
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,16 @@ include $(RACK_DIR)/plugin.mk
1818
# Below this line: Targets for Dale to build the gui and run Rack
1919

2020
RACK_APP = /Applications/Rack.app
21-
RACK_PLUGINS_DIR = ~/Documents/Rack/plugins
21+
22+
RACK_PLUGINS_DIR = $(RACK_USER_DIR)/plugins
23+
MODULE_INSTALL_DIR = $(RACK_PLUGINS_DIR)/$(SLUG)
24+
MODULE_INSTALL_ZIP = $(RACK_PLUGINS_DIR)/$(SLUG)-$(VERSION)-$(ARCH).zip
2225

2326
run: install
2427
open $(RACK_APP)
2528

2629
uninstall:
27-
rm -rf $(MODULE_INSTALL_DIR)
30+
rm -rf $(MODULE_INSTALL_DIR) $(MODULE_INSTALL_ZIP)
2831

2932
.PHONY: gui
3033
gui:

0 commit comments

Comments
 (0)