Summary Files Commits Branches @commit @diff @stats
path: root / Makefile
diff options
context:
space:
mode:
1 files changed, 3 insertions, 3 deletions
-rw-r--r--Makefile6
diff --git a/Makefile b/Makefile
index 78a0229..ca85ea8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
TARGET := libephyscripts.so
PREFIX ?= /usr
-DESTDIR ?= lib/epiphany/web-extensions
+DESTDIR ?= lib/epiphany
CFLAGS ?= -O2 -pipe -march=native -Wall -Wextra
LDFLAGS ?= -s
CFLAGS += $(shell pkg-config --cflags webkit2gtk-web-extension-4.0)
@@ -10,7 +10,7 @@ $(TARGET): $(wildcard *.c)
$(CC) -fPIC $(CFLAGS) -shared $(LDFLAGS) -o $@ $^
install: $(TARGET)
- install -D $^ $(PREFIX)/$(DESTDIR)/$(TARGET)
+ install -D $^ $(PREFIX)/$(DESTDIR)/web-extensions/$(TARGET)
uninstall:
- rm -f $(PREFIX)/$(DESTDIR)/$(TARGET)
+ rm -f $(PREFIX)/$(DESTDIR)/web-extensions/$(TARGET)