From: Emden R. Gansner Date: Wed, 30 Jul 2014 17:24:55 +0000 (-0400) Subject: Add required man page; fix makefile to process it X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~183^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c69d0da5ecb4b2696d13718e6a9a00fda2b32199;p=graphviz Add required man page; fix makefile to process it --- diff --git a/lib/edgepaint/Makefile.am b/lib/edgepaint/Makefile.am index 111cb1f94..d0c0a3eee 100644 --- a/lib/edgepaint/Makefile.am +++ b/lib/edgepaint/Makefile.am @@ -1,6 +1,11 @@ # $Id$Revision: ## Process this file with automake to produce Makefile.in +LAB_GAMUT_VERSION="1:0:0" + +pdfdir = $(pkgdatadir)/doc/pdf +pkgconfigdir = $(libdir)/pkgconfig + AM_CPPFLAGS = \ -I$(top_srcdir) \ -I$(top_srcdir)/lib/common \ @@ -15,9 +20,16 @@ noinst_HEADERS = edge_distinct_coloring.h furtherest_point.h intersection.h noinst_LTLIBRARIES = libedgepaint_C.la lib_LTLIBRARIES = liblab_gamut.la +man_MANS = lab_gamut.3 +pdf_DATA = lab_gamut.3.pdf libedgepaint_C_la_SOURCES = edge_distinct_coloring.c furtherest_point.c intersection.c lab.c node_distinct_coloring.c + +liblab_gamut_la_LDFLAGS = -version-info $(LAB_GAMUT_VERSION) liblab_gamut_la_SOURCES = lab_gamut.c -EXTRA_DIST = edgepaintlib.vcproj +lab_gamut.3.pdf: $(srcdir)/lab_gamut.3 + - @GROFF@ -Tps -man $(srcdir)/lab_gamut.3 | @PS2PDF@ - - >lab_gamut.3.pdf + +EXTRA_DIST = $(man_MANS) $(pdf_DATA) edgepaintlib.vcproj diff --git a/lib/edgepaint/lab_gamut.3 b/lib/edgepaint/lab_gamut.3 new file mode 100644 index 000000000..417ff33f7 --- /dev/null +++ b/lib/edgepaint/lab_gamut.3 @@ -0,0 +1,33 @@ +.TH LIBLAB_GAMUT 3 "30 JULY 2014" +.SH NAME +\fBliblab_gamut\fR \- data library for default color labeling +.SH SYNOPSIS +.ta .75i 1.5i 2.25i 3i 3.75i 4.5i 5.25i 6i +.PP +.nf +\f5 +#include + +typedef struct { + signed char l, a, b;/* l: 0 to 100, a,b: -128 tp 128 */ +} char_color_lab; + +extern const char_color_lab lab_gamut_data[]; +extern int lab_gamut_data_size; + +\fP +.fi +.SH DESCRIPTION +This library contains a large table of color specifications +used by default to disambiguate nodes or edges by distinct colors. +It is not meant to be accessed directly by the user. +The number of colors is given by \f5lab_gamut_data_size\fP. +.SH SEE ALSO +.BR edgepaint (1), +.BR gvmap (1), +.BR cluster (3) + +.SH AUTHORS +Yifan Hu +Emden Gansner +