From 31e4781ebfd3964994ea82c3653d0a9543de7c78 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 12 Apr 2019 22:58:41 +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(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ca418c0..91faf20 100644 --- a/Makefile +++ b/Makefile @@ -54,18 +54,18 @@ liberror-libc.$(LIBEXT): $(LOBJ) install: liberror-libc.a liberror-libc.$(LIBEXT) mkdir -p -- "$(DESTDIR)$(PREFIX)/lib" mkdir -p -- "$(DESTDIR)$(PREFIX)/include" - mkdir -p -- "$(DESTDIR)$(PREFIX)/licenses/liberror-libc" + mkdir -p -- "$(DESTDIR)$(PREFIX)/share/licenses/liberror-libc" cp -- liberror-libc.a "$(DESTDIR)$(PREFIX)/lib" cp -- liberror-libc.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/liberror-libc.$(LIBMINOREXT)" ln -sf -- liberror-libc.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/liberror-libc.$(LIBMAJOREXT)" ln -sf -- liberror-libc.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/liberror-libc.$(LIBEXT)" cp -- liberror-libc.h "$(DESTDIR)$(PREFIX)/include" - cp -- LICENSE "$(DESTDIR)$(PREFIX)/licenses/liberror-libc" + cp -- LICENSE "$(DESTDIR)$(PREFIX)/share/licenses/liberror-libc" uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/lib/liberror-libc."* -rm -f -- "$(DESTDIR)$(PREFIX)/include/liberror-libc.h" - -rm -rf -- "$(DESTDIR)$(PREFIX)/licenses/liberror-libc" + -rm -rf -- "$(DESTDIR)$(PREFIX)/share/licenses/liberror-libc" clean: -rm -f -- *.o *.lo *.a *.so *.so.* *.su *.test -- cgit v1.2.3-70-g09d2