From: Quentin Rameau Date: Mon, 8 Oct 2018 12:11:24 +0000 (+0200) Subject: Fix webext directory in Makefile X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=47e39851ca12749d24c66f948054c42289756ca7;p=surf.git Fix webext directory in Makefile --- 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