aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-04-12 22:58:21 +0200
committerMattias Andrée <maandree@kth.se>2019-04-12 22:58:21 +0200
commitdad9832cc0f517a2b00cf0c08a06edd1beeb2836 (patch)
treed667a8bc8d1a1b81006496f3052f68178f1e9e1e /Makefile
parentFix so (diff)
downloadliberror-dad9832cc0f517a2b00cf0c08a06edd1beeb2836.tar.gz
liberror-dad9832cc0f517a2b00cf0c08a06edd1beeb2836.tar.bz2
liberror-dad9832cc0f517a2b00cf0c08a06edd1beeb2836.tar.xz
Fix makefile
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 f2157ad..ea88b2f 100644
--- a/Makefile
+++ b/Makefile
@@ -53,18 +53,18 @@ liberror.$(LIBEXT): $(LOBJ)
install: liberror.a liberror.$(LIBEXT)
mkdir -p -- "$(DESTDIR)$(PREFIX)/lib"
mkdir -p -- "$(DESTDIR)$(PREFIX)/include"
- mkdir -p -- "$(DESTDIR)$(PREFIX)/licenses/liberror"
+ mkdir -p -- "$(DESTDIR)$(PREFIX)/share/licenses/liberror"
cp -- liberror.a "$(DESTDIR)$(PREFIX)/lib"
cp -- liberror.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/liberror.$(LIBMINOREXT)"
ln -sf -- liberror.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/liberror.$(LIBMAJOREXT)"
ln -sf -- liberror.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/liberror.$(LIBEXT)"
cp -- liberror.h "$(DESTDIR)$(PREFIX)/include"
- cp -- LICENSE "$(DESTDIR)$(PREFIX)/licenses/liberror"
+ cp -- LICENSE "$(DESTDIR)$(PREFIX)/share/licenses/liberror"
uninstall:
-rm -f -- "$(DESTDIR)$(PREFIX)/lib/liberror."*
-rm -f -- "$(DESTDIR)$(PREFIX)/include/liberror.h"
- -rm -rf -- "$(DESTDIR)$(PREFIX)/licenses/liberror"
+ -rm -rf -- "$(DESTDIR)$(PREFIX)/share/licenses/liberror"
clean:
-rm -f -- *.o *.lo *.a *.so *.so.* *.su *.test