diff options
author | Mattias Andrée <maandree@kth.se> | 2019-04-14 14:31:37 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-04-14 14:31:37 +0200 |
commit | a13ab1979b3ebc104522def69ccf8020c3e1feb6 (patch) | |
tree | bec92c5b42cfefa2034a3fc800c25f1fb86f1e81 /Makefile | |
parent | Enable prefetching backtace (diff) | |
download | liberror-backtrace-1.0.tar.gz liberror-backtrace-1.0.tar.bz2 liberror-backtrace-1.0.tar.xz |
Add liberror-backtrace1.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -20,6 +20,9 @@ OBJ =\ print_backtrace.o\ save_backtrace.o +MAN7 =\ + liberror-backtrace.7 + LOBJ = $(OBJ:.o=.lo) @@ -44,15 +47,18 @@ liberror-backtrace.$(LIBEXT): $(LOBJ) install: liberror-backtrace.a liberror-backtrace.$(LIBEXT) mkdir -p -- "$(DESTDIR)$(PREFIX)/lib" mkdir -p -- "$(DESTDIR)$(PREFIX)/share/licenses/liberror-backtrace" + mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man7" 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)/share/licenses/liberror-backtrace" + cp -- $(MAN7) "$(DESTDIR)$(MANPREFIX)/man7" uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/lib/liberror-backtrace."* -rm -rf -- "$(DESTDIR)$(PREFIX)/share/licenses/liberror-backtrace" + -cd -- "$(DESTDIR)$(MANPREFIX)/man7" && rm -f -- $(MAN7) clean: -rm -f -- *.o *.lo *.a *.so *.so.* *.su *.test |