diff options
author | Mattias Andrée <m@maandree.se> | 2024-10-13 23:14:32 +0200 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2024-10-13 23:14:32 +0200 |
commit | 45cc16376f79ceeb642da4a5ab5b4568b3231871 (patch) | |
tree | c1ee1a7c91b535965257c3d5735abec721ae0217 /Makefile | |
parent | m (diff) | |
download | libparsepcf-45cc16376f79ceeb642da4a5ab5b4568b3231871.tar.gz libparsepcf-45cc16376f79ceeb642da4a5ab5b4568b3231871.tar.bz2 libparsepcf-45cc16376f79ceeb642da4a5ab5b4568b3231871.tar.xz |
Add section 3 man pages
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
@@ -15,6 +15,9 @@ LIB_MINOR = 0 LIB_VERSION = $(LIB_MAJOR).$(LIB_MINOR) LIB_NAME = parsepcf +# Version 2.0 is ABI-backwards compatible with +# version 1.0, but not API-backwards compatible + OBJ =\ libparsepcf_destroy_preparsed_font.o\ @@ -45,6 +48,47 @@ HDR =\ libparsepcf.h\ common.h +MAN3 =\ + struct_libparsepcf_table.3\ + LIBPARSEPCF_PROPERTIES.3\ + LIBPARSEPCF_ACCELERATORS.3\ + LIBPARSEPCF_METRICS.3\ + LIBPARSEPCF_BITMAPS.3\ + LIBPARSEPCF_INK_METRICS.3\ + LIBPARSEPCF_BDF_ENCODINGS.3\ + LIBPARSEPCF_SWIDTHS.3\ + LIBPARSEPCF_GLYPH_NAMES.3\ + LIBPARSEPCF_BDF_ACCELERATORS.3\ + libparsepcf_get_table_count.3\ + libparsepcf_get_tables.3\ + struct_libparsepcf_properties.3\ + struct_libparsepcf_property_subtable.3\ + libparsepcf_get_properties.3\ + libparsepcf_get_property_subtable.3\ + struct_libparsepcf_metrics.3\ + libparsepcf_get_metrics_count.3\ + libparsepcf_get_metrics.3\ + struct_libparsepcf_glyph_names.3\ + libparsepcf_get_glyph_names.3\ + libparsepcf_get_glyph_name_subtable.3\ + struct_libparsepcf_bitmaps.3\ + int libparsepcf_get_bitmaps.3\ + int libparsepcf_get_bitmap_offsets.3\ + struct_libparsepcf_encoding.3\ + LIBPARSEPCF_NOT_ENCODED.3\ + libparsepcf_get_encoding.3\ + libparsepcf_get_glyph_indices.3\ + struct_libparsepcf_accelerators.3\ + libparsepcf_get_accelerators.3\ + libparsepcf_get_swidth_count.3\ + libparsepcf_get_swidths.3\ + struct_libparsepcf_font.3\ + libparsepcf_preparse_font.3\ + libparsepcf_destroy_preparsed_font.3 + +MAN0 = libparsepcf.h.0 +MAN7 = libparsepcf.7 + LOBJ = $(OBJ:.o=.lo) SRC = $(OBJ:.o=.c) @@ -73,12 +117,16 @@ libparsepcf.$(LIBEXT): $(LOBJ) install: libparsepcf.a libparsepcf.$(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 -- libparsepcf.a "$(DESTDIR)$(PREFIX)/lib/" cp -- libparsepcf.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/libparsepcf.$(LIBMINOREXT)" $(FIX_INSTALL_NAME) "$(DESTDIR)$(PREFIX)/lib/libparsepcf.$(LIBMINOREXT)" ln -sf -- libparsepcf.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/libparsepcf.$(LIBMAJOREXT)" ln -sf -- libparsepcf.$(LIBMAJOREXT) "$(DESTDIR)$(PREFIX)/lib/libparsepcf.$(LIBEXT)" cp -- libparsepcf.h "$(DESTDIR)$(PREFIX)/include/" + cp -P -- $(MAN3) "$(DESTDIR)$(MANPREFIX)/man3/" uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libparsepcf.a" @@ -86,6 +134,9 @@ uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libparsepcf.$(LIBMINOREXT)" -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libparsepcf.$(LIBEXT)" -rm -f -- "$(DESTDIR)$(PREFIX)/include/libparsepcf.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 |