From 3d4c21271f6c65bd0f5f517a5243e704c52c1ee2 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 26 Oct 2018 23:13:42 +0200 Subject: Fix install path for license 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 5ee0e25..9b87b8a 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ install: bus libbus.a libbus.so mkdir -p -- "$(DESTDIR)$(PREFIX)/bin" mkdir -p -- "$(DESTDIR)$(PREFIX)/lib" mkdir -p -- "$(DESTDIR)$(PREFIX)/include" - mkdir -p -- "$(DESTDIR)$(PREFIX)/licenses/bus" + mkdir -p -- "$(DESTDIR)$(PREFIX)/share/licenses/bus" mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1" mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man3" mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man5" @@ -50,7 +50,7 @@ install: bus libbus.a libbus.so cp -- libbus.a "$(DESTDIR)$(PREFIX)/lib" cp -- libbus.so "$(DESTDIR)$(PREFIX)/lib/libbus.so.$(LIB_VERSION)" cp -- bus.h "$(DESTDIR)$(PREFIX)/include" - cp -- LICENSE "$(DESTDIR)$(PREFIX)/licenses/bus" + cp -- LICENSE "$(DESTDIR)$(PREFIX)/share/licenses/bus" ln -sf -- libbus.so.$(LIB_VERSION) "$(DESTDIR)$(PREFIX)/lib/libbus.so.$(LIB_MAJOR)" ln -sf -- libbus.so.$(LIB_VERSION) "$(DESTDIR)$(PREFIX)/lib/libbus.so" cp -- $(MAN1) "$(DESTDIR)$(MANPREFIX)/man1" @@ -70,7 +70,7 @@ uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libbus.so.$(LIB_MAJOR)" -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libbus.so" -rm -f -- "$(DESTDIR)$(PREFIX)/include/bus.h" - -rm -rf -- "$(DESTDIR)$(PREFIX)/licenses/bus" + -rm -rf -- "$(DESTDIR)$(PREFIX)/share/licenses/bus" -cd "$(DESTDIR)$(MANPREFIX)/man1" && rm -f -- $(MAN1) -cd "$(DESTDIR)$(MANPREFIX)/man3" && rm -f -- $(MAN3) -cd "$(DESTDIR)$(MANPREFIX)/man5" && rm -f -- $(MAN5) -- cgit v1.2.3-70-g09d2