diff options
author | Mattias Andrée <maandree@kth.se> | 2019-04-12 22:58:21 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-04-12 22:58:21 +0200 |
commit | dad9832cc0f517a2b00cf0c08a06edd1beeb2836 (patch) | |
tree | d667a8bc8d1a1b81006496f3052f68178f1e9e1e /Makefile | |
parent | Fix so (diff) | |
download | liberror-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 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |