diff options
author | Mattias Andrée <maandree@kth.se> | 2022-07-18 23:18:48 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-07-18 23:18:48 +0200 |
commit | f33af8ecd7dae0b663b0eb99474d16403faaf4e1 (patch) | |
tree | 5f52730d71ef4a36d2c0641b6c77d81f4c3223a6 /Makefile | |
parent | Improve README (diff) | |
download | libtracebitmap-1.0.1.tar.gz libtracebitmap-1.0.1.tar.bz2 libtracebitmap-1.0.1.tar.xz |
Add man pages1.0.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -22,6 +22,19 @@ OBJ =\ HDR =\ libtracebitmap.h +MAN0 =\ + libtracebitmap.h.0 + +MAN3 =\ + libtracebitmap_trace.3\ + LIBTRACEBITMAP_INK_OFF.3\ + LIBTRACEBITMAP_INK_ON.3\ + libtracebitmap_bitmap.3\ + struct_libtracebitmap_bitmap.3 + +MAN7 =\ + libtracebitmap.7 + LOBJ = $(OBJ:.o=.lo) @@ -48,12 +61,18 @@ libtracebitmap.$(LIBEXT): $(LOBJ) install: libtracebitmap.a libtracebitmap.$(LIBEXT) mkdir -p -- "$(DESTDIR)$(PREFIX)/lib" mkdir -p -- "$(DESTDIR)$(PREFIX)/include" + mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man0" + mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man3" + mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man7" cp -- libtracebitmap.a "$(DESTDIR)$(PREFIX)/lib/" cp -- libtracebitmap.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/libtracebitmap.$(LIBMINOREXT)" $(FIX_INSTALL_NAME) "$(DESTDIR)$(PREFIX)/lib/libtracebitmap.$(LIBMINOREXT)" ln -sf -- libtracebitmap.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/libtracebitmap.$(LIBMAJOREXT)" ln -sf -- libtracebitmap.$(LIBMAJOREXT) "$(DESTDIR)$(PREFIX)/lib/libtracebitmap.$(LIBEXT)" cp -- libtracebitmap.h "$(DESTDIR)$(PREFIX)/include/" + cp -P -- $(MAN0) "$(DESTDIR)$(MANPREFIX)/man0" + cp -P -- $(MAN3) "$(DESTDIR)$(MANPREFIX)/man3" + cp -P -- $(MAN7) "$(DESTDIR)$(MANPREFIX)/man7" uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libtracebitmap.a" @@ -61,6 +80,9 @@ uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libtracebitmap.$(LIBMINOREXT)" -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libtracebitmap.$(LIBEXT)" -rm -f -- "$(DESTDIR)$(PREFIX)/include/libtracebitmap.h" + -cd -- "$(DESTDIR)$(MANPREFIX)/man0" && rm -f -- $(MAN0) + -cd -- "$(DESTDIR)$(MANPREFIX)/man3" && rm -f -- $(MAN3) + -cd -- "$(DESTDIR)$(MANPREFIX)/man7" && rm -f -- $(MAN7) clean: -rm -f -- *.o *.a *.lo *.su *.so *.so.* *.dll *.dylib |