aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-10-26 23:13:42 +0200
committerMattias Andrée <maandree@kth.se>2018-10-26 23:18:34 +0200
commit3d4c21271f6c65bd0f5f517a5243e704c52c1ee2 (patch)
tree026af1b89a11e070b3a2b5b4244611a9229a52fb /Makefile
parentSimplify, do not install examples or info manual, and change license (diff)
downloadbus-3.1.8.tar.gz
bus-3.1.8.tar.bz2
bus-3.1.8.tar.xz
Fix install path for license3.1.8
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
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)