From a13ab1979b3ebc104522def69ccf8020c3e1feb6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 14 Apr 2019 14:31:37 +0200 Subject: Add liberror-backtrace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8a673e3..f429d50 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3-70-g09d2