Fix paths of makefile
This commit is contained in:
parent
19888eb19c
commit
610cbdf962
9
makefile
9
makefile
|
@ -1,5 +1,6 @@
|
||||||
LISTNAME=easylist.txt
|
LISTNAME=easylist.txt
|
||||||
EXTENSION_DIR=$(DESTDIR)/usr/lib/wyebrowser
|
PREFIX ?= /usr
|
||||||
|
EXTENSION_DIR ?= $(PREFIX)/lib/wyebrowser
|
||||||
ifeq ($(DEBUG), 1)
|
ifeq ($(DEBUG), 1)
|
||||||
CFLAGS += -Wall
|
CFLAGS += -Wall
|
||||||
else
|
else
|
||||||
|
@ -37,11 +38,11 @@ clean:
|
||||||
rm -f testrun
|
rm -f testrun
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install -Dm755 wyebab $(DESTDIR)/usr/bin/wyebab
|
install -Dm755 wyebab $(DESTDIR)$(PREFIX)/bin/wyebab
|
||||||
install -Dm755 adblock.so $(EXTENSION_DIR)/adblock.so
|
install -Dm755 adblock.so $(DESTDIR)$(EXTENSION_DIR)/adblock.so
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(DESTDIR)/usr/bin/wyebab
|
rm -f $(PREFIX)/bin/wyebab
|
||||||
rm -f $(EXTENSION_DIR)/adblock.so
|
rm -f $(EXTENSION_DIR)/adblock.so
|
||||||
-rmdir $(EXTENSION_DIR)
|
-rmdir $(EXTENSION_DIR)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user