From e0114bf86ee96b36268ddd39059cebfe0cae1d39 Mon Sep 17 00:00:00 2001 From: rliang Date: Mon, 11 Mar 2019 14:30:52 -0300 Subject: Add installation steps for debian-based --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') 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) -- cgit v1.3.1-23-gd82d