diff options
author | Mattias Andrée <maandree@kth.se> | 2018-10-26 23:13:42 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2018-10-26 23:18:34 +0200 |
commit | 3d4c21271f6c65bd0f5f517a5243e704c52c1ee2 (patch) | |
tree | 026af1b89a11e070b3a2b5b4244611a9229a52fb | |
parent | Simplify, do not install examples or info manual, and change license (diff) | |
download | bus-3d4c21271f6c65bd0f5f517a5243e704c52c1ee2.tar.gz bus-3d4c21271f6c65bd0f5f517a5243e704c52c1ee2.tar.bz2 bus-3d4c21271f6c65bd0f5f517a5243e704c52c1ee2.tar.xz |
Fix install path for license3.1.8
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |