diff options
author | Mattias Andrée <maandree@kth.se> | 2019-04-12 22:58:41 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-04-12 22:58:41 +0200 |
commit | 31e4781ebfd3964994ea82c3653d0a9543de7c78 (patch) | |
tree | 2054ca970b7df9d07b764b741fe20e58599c725f | |
parent | Fix so (diff) | |
download | liberror-libc-31e4781ebfd3964994ea82c3653d0a9543de7c78.tar.gz liberror-libc-31e4781ebfd3964994ea82c3653d0a9543de7c78.tar.bz2 liberror-libc-31e4781ebfd3964994ea82c3653d0a9543de7c78.tar.xz |
Fix makefile
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | config.mk | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -54,18 +54,18 @@ liberror-libc.$(LIBEXT): $(LOBJ) install: liberror-libc.a liberror-libc.$(LIBEXT) mkdir -p -- "$(DESTDIR)$(PREFIX)/lib" mkdir -p -- "$(DESTDIR)$(PREFIX)/include" - mkdir -p -- "$(DESTDIR)$(PREFIX)/licenses/liberror-libc" + mkdir -p -- "$(DESTDIR)$(PREFIX)/share/licenses/liberror-libc" cp -- liberror-libc.a "$(DESTDIR)$(PREFIX)/lib" cp -- liberror-libc.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/liberror-libc.$(LIBMINOREXT)" ln -sf -- liberror-libc.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/liberror-libc.$(LIBMAJOREXT)" ln -sf -- liberror-libc.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/liberror-libc.$(LIBEXT)" cp -- liberror-libc.h "$(DESTDIR)$(PREFIX)/include" - cp -- LICENSE "$(DESTDIR)$(PREFIX)/licenses/liberror-libc" + cp -- LICENSE "$(DESTDIR)$(PREFIX)/share/licenses/liberror-libc" uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/lib/liberror-libc."* -rm -f -- "$(DESTDIR)$(PREFIX)/include/liberror-libc.h" - -rm -rf -- "$(DESTDIR)$(PREFIX)/licenses/liberror-libc" + -rm -rf -- "$(DESTDIR)$(PREFIX)/share/licenses/liberror-libc" clean: -rm -f -- *.o *.lo *.a *.so *.so.* *.su *.test @@ -3,4 +3,4 @@ MANPREFIX = $(PREFIX)/share/man CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 CFLAGS = -std=c99 -Wall -pedantic -LDFLAGS = -s +LDFLAGS = -s -liberror |