fix rmdir

This commit is contained in:
jun7 2023-02-12 07:46:06 +09:00
parent 7c5dede407
commit 616d30ab98

View File

@ -1,8 +1,9 @@
LISTNAME=easylist.txt LISTNAME=easylist.txt
PREFIX ?= /usr PREFIX ?= /usr
WEBKIT ?= webkit2gtk-4.1 WEBKIT ?= webkit2gtk-4.1
APPDIR ?= wyebrowser/4.1 APPDIR ?= wyebrowser
EXTENSION_DIR ?= $(PREFIX)/lib/$(APPDIR) APPVER ?= /4.1
EXTENSION_DIR ?= $(PREFIX)/lib/$(APPDIR)$(APPVER)
ifeq ($(DEBUG), 1) ifeq ($(DEBUG), 1)
CFLAGS += -Wall CFLAGS += -Wall
else else
@ -46,6 +47,7 @@ install:
uninstall: uninstall:
rm -f $(PREFIX)/bin/wyebab rm -f $(PREFIX)/bin/wyebab
rm -f $(EXTENSION_DIR)/adblock.so rm -f $(EXTENSION_DIR)/adblock.so
-rmdir $(EXTENSION_DIR)$(APPVER)
-rmdir $(EXTENSION_DIR) -rmdir $(EXTENSION_DIR)