summaryrefslogtreecommitdiffstats
path: root/src/paths.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/paths.h.in')
-rw-r--r--src/paths.h.in39
1 files changed, 39 insertions, 0 deletions
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 */
+};