From 5280f9a0cd1f9ba200422ebba65d1e0133410995 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sat, 13 Sep 2014 09:43:21 -0700 Subject: Initial. --- src/paths.h.in | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/paths.h.in (limited to 'src/paths.h.in') diff --git a/src/paths.h.in b/src/paths.h.in new file mode 100644 index 0000000..ee9ec75 --- /dev/null +++ b/src/paths.h.in @@ -0,0 +1,39 @@ +/* paths.h - included in man-config.c */ +/* + * Define the absolute path to the configuration file and programs used. + * (If no configuration file is found then the preset values are used.) + */ +#ifndef CONFIG_FILE +#define CONFIG_FILE "@man_config_file@" +#endif + +static struct paths { + char *name; + char *path; /* path plus command options - never NULL */ +} paths[] = { + { "MANBIN", "" }, /* value unused */ + { "APROPOS", "@apropos@" }, + { "WHATIS", "@whatis@" }, + { "TROFF", "@troff@" }, + { "NROFF", "@nroff@" }, + { "JNROFF", "@jnroff@" }, + { "EQN", "@eqn@" }, + { "NEQN", "@neqn@" }, + { "JNEQN", "@jneqn@" }, + { "TBL", "@tbl@" }, + { "COL", "@pcol@" }, + { "REFER", "@refer@" }, + { "PIC", "@pic@" }, + { "VGRIND", "@vgrind@" }, + { "GRAP", "@grap@" }, + { "PAGER", "@pager@" }, + { "BROWSER","@browser@" }, + { "HTMLPAGER", "@htmlpager@" }, + { "CMP", "@cmp@" }, + { "CAT", "@cat@" }, + { "COMPRESS", "@compress@" }, + { "COMPRESS_EXT", "@compress_ext@" }, /* not a path, just a string variable */ + { "DECOMPRESS", "@decompress@" }, + { "MANSECT", "@sections@"}, /* idem */ + { "MANDEFOPTIONS", ""} /* idem */ +}; -- cgit v1.2.3