aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-04-12 22:58:31 +0200
committerMattias Andrée <maandree@kth.se>2019-04-12 22:58:31 +0200
commite371a66076394b072f38045edac8bf4917a2dbb2 (patch)
tree0b4d99f3fd55d0d7bc78fcfe6b3d54f9b6f78648
parentFix so (diff)
downloadliberror-backtrace-e371a66076394b072f38045edac8bf4917a2dbb2.tar.gz
liberror-backtrace-e371a66076394b072f38045edac8bf4917a2dbb2.tar.bz2
liberror-backtrace-e371a66076394b072f38045edac8bf4917a2dbb2.tar.xz
Fix makefile
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 924776d..8a673e3 100644
--- a/Makefile
+++ b/Makefile
@@ -43,16 +43,16 @@ liberror-backtrace.$(LIBEXT): $(LOBJ)
install: liberror-backtrace.a liberror-backtrace.$(LIBEXT)
mkdir -p -- "$(DESTDIR)$(PREFIX)/lib"
- mkdir -p -- "$(DESTDIR)$(PREFIX)/licenses/liberror-backtrace"
+ mkdir -p -- "$(DESTDIR)$(PREFIX)/share/licenses/liberror-backtrace"
cp -- liberror-backtrace.a "$(DESTDIR)$(PREFIX)/lib"
cp -- liberror-backtrace.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/liberror-backtrace.$(LIBMINOREXT)"
ln -sf -- liberror-backtrace.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/liberror-backtrace.$(LIBMAJOREXT)"
ln -sf -- liberror-backtrace.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/liberror-backtrace.$(LIBEXT)"
- cp -- LICENSE "$(DESTDIR)$(PREFIX)/licenses/liberror-backtrace"
+ cp -- LICENSE "$(DESTDIR)$(PREFIX)/share/licenses/liberror-backtrace"
uninstall:
-rm -f -- "$(DESTDIR)$(PREFIX)/lib/liberror-backtrace."*
- -rm -rf -- "$(DESTDIR)$(PREFIX)/licenses/liberror-backtrace"
+ -rm -rf -- "$(DESTDIR)$(PREFIX)/share/licenses/liberror-backtrace"
clean:
-rm -f -- *.o *.lo *.a *.so *.so.* *.su *.test