From dad9832cc0f517a2b00cf0c08a06edd1beeb2836 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 12 Apr 2019 22:58:21 +0200 Subject: Fix makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f2157ad..ea88b2f 100644 --- a/Makefile +++ b/Makefile @@ -53,18 +53,18 @@ liberror.$(LIBEXT): $(LOBJ) install: liberror.a liberror.$(LIBEXT) mkdir -p -- "$(DESTDIR)$(PREFIX)/lib" mkdir -p -- "$(DESTDIR)$(PREFIX)/include" - mkdir -p -- "$(DESTDIR)$(PREFIX)/licenses/liberror" + mkdir -p -- "$(DESTDIR)$(PREFIX)/share/licenses/liberror" cp -- liberror.a "$(DESTDIR)$(PREFIX)/lib" cp -- liberror.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/liberror.$(LIBMINOREXT)" ln -sf -- liberror.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/liberror.$(LIBMAJOREXT)" ln -sf -- liberror.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/liberror.$(LIBEXT)" cp -- liberror.h "$(DESTDIR)$(PREFIX)/include" - cp -- LICENSE "$(DESTDIR)$(PREFIX)/licenses/liberror" + cp -- LICENSE "$(DESTDIR)$(PREFIX)/share/licenses/liberror" uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/lib/liberror."* -rm -f -- "$(DESTDIR)$(PREFIX)/include/liberror.h" - -rm -rf -- "$(DESTDIR)$(PREFIX)/licenses/liberror" + -rm -rf -- "$(DESTDIR)$(PREFIX)/share/licenses/liberror" clean: -rm -f -- *.o *.lo *.a *.so *.so.* *.su *.test -- cgit v1.2.3-70-g09d2