about summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2018-10-08 14:11:24 +0200
committerQuentin Rameau <quinq@fifth.space>2018-10-08 14:12:51 +0200
commit47e39851ca12749d24c66f948054c42289756ca7 (patch)
treeb226a7fb32d9eabd13572079f7b00059a919dd88
parentRemove libtool depencency, reorganise Makefile (diff)
downloadsurf-47e39851ca12749d24c66f948054c42289756ca7.tar.gz
surf-47e39851ca12749d24c66f948054c42289756ca7.tar.bz2
surf-47e39851ca12749d24c66f948054c42289756ca7.zip
Fix webext directory in Makefile
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 3b601ff..6a4906e 100644
--- a/Makefile
+++ b/Makefile
@@ -55,9 +55,9 @@ install: all
 	mkdir -p $(DESTDIR)$(PREFIX)/bin
 	cp -f surf $(DESTDIR)$(PREFIX)/bin
 	chmod 755 $(DESTDIR)$(PREFIX)/bin/surf
-	mkdir -p $(DESTDIR)$(WEBEXTDIR)
-	cp -f libsurf-webext.so $(DESTDIR)$(WEBEXTDIR)
-	chmod 644 $(DESTDIR)$(PREFIX)/bin/surf
+	mkdir -p $(DESTDIR)$(LIBDIR)
+	cp -f libsurf-webext.so $(DESTDIR)$(LIBDIR)
+	chmod 644 $(DESTDIR)$(LIBDIR)/bin/libsurf-webext.so
 	mkdir -p $(DESTDIR)$(MANPREFIX)/man1
 	sed "s/VERSION/$(VERSION)/g" < surf.1 > $(DESTDIR)$(MANPREFIX)/man1/surf.1
 	chmod 644 $(DESTDIR)$(MANPREFIX)/man1/surf.1
@@ -65,8 +65,8 @@ install: all
 uninstall:
 	rm -f $(DESTDIR)$(PREFIX)/bin/surf
 	rm -f $(DESTDIR)$(MANPREFIX)/man1/surf.1
-	rm -f $(DESTDIR)$(WEBEXTDIR)/libsurf-webext.so
-	- rmdir $(DESTDIR)$(WEBEXTDIR)
+	rm -f $(DESTDIR)$(LIBDIR)/libsurf-webext.so
+	- rmdir $(DESTDIR)$(LIBDIR)
 
 .SUFFIXES: .so .o .c
 .PHONY: all options clean-dist clean dist install uninstall