diff options
author | Mattias Andrée <maandree@kth.se> | 2023-02-07 22:38:36 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-02-07 22:38:36 +0100 |
commit | 6bea61a199dd841b23053cf1b8ccd3dd753c0846 (patch) | |
tree | 62e526e51eac4b210305177dcc5222e800d42d35 /Makefile | |
parent | README: add usage information (diff) | |
download | librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-6bea61a199dd841b23053cf1b8ccd3dd753c0846.tar.gz librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-6bea61a199dd841b23053cf1b8ccd3dd753c0846.tar.bz2 librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-6bea61a199dd841b23053cf1b8ccd3dd753c0846.tar.xz |
Add man pages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -38,6 +38,18 @@ HDR =\ LOBJ = $(OBJ:.o=.lo) TESTS = $(OBJ:.o=.test) +MAN3 =\ + rtgrpblib_create_raster.3\ + rtgrpblib_reset_raster.3\ + rtgrpblib_set_draftness.3\ + rtgrpblib_draw_elliptical_arc.3\ + rtgrpblib_draw_linear_bezier.3\ + rtgrpblib_draw_quadratic_bezier.3\ + rtgrpblib_draw_cubic_bezier.3\ + rtgrpblib_fill_shapes.3 + +MAN7 = lib$(LIB_NAME).7 + all: lib$(LIB_NAME).a lib$(LIB_NAME).$(LIBEXT) $(TESTS) $(OBJ): $(HDR) @@ -73,6 +85,10 @@ install: lib$(LIB_NAME).a lib$(LIB_NAME).$(LIBEXT) ln -sf -- lib$(LIB_NAME).$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/lib$(LIB_NAME).$(LIBMAJOREXT)" ln -sf -- lib$(LIB_NAME).$(LIBMAJOREXT) "$(DESTDIR)$(PREFIX)/lib/lib$(LIB_NAME).$(LIBEXT)" cp -- lib$(LIB_NAME).h "$(DESTDIR)$(PREFIX)/include/" + mkdir -- "$(DESTDIR)$(MANPREFIX)/man3/" + mkdir -- "$(DESTDIR)$(MANPREFIX)/man7/" + cp -- $(MAN2) "$(DESTDIR)$(MANPREFIX)/man3/" + cp -- $(MAN7) "$(DESTDIR)$(MANPREFIX)/man7/" uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/lib/lib$(LIB_NAME).a" @@ -80,6 +96,8 @@ uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/lib/lib$(LIB_NAME).$(LIBMINOREXT)" -rm -f -- "$(DESTDIR)$(PREFIX)/lib/lib$(LIB_NAME).$(LIBEXT)" -rm -f -- "$(DESTDIR)$(PREFIX)/include/lib$(LIB_NAME).h" + -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 *.test |