summaryrefslogtreecommitdiffstats
path: root/src/paths.h.in
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-09-13 09:43:21 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-09-13 09:43:21 -0700
commit5280f9a0cd1f9ba200422ebba65d1e0133410995 (patch)
treebf85ce4e320a769d7e0903ff52ccfde13a422666 /src/paths.h.in
downloadman-5280f9a0cd1f9ba200422ebba65d1e0133410995.tar.gz
man-5280f9a0cd1f9ba200422ebba65d1e0133410995.tar.bz2
man-5280f9a0cd1f9ba200422ebba65d1e0133410995.zip
Initial.man-1.6g
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 */
+};