Searched refs:manpath (Results 1 - 15 of 15) sorted by relevance

/freebsd-11-stable/usr.bin/man/
H A DMakefile6 LINKS= ${BINDIR}/man ${BINDIR}/manpath
8 MAN= man.1 manpath.1 man.conf.5
H A Dman.sh32 # Adds a variable to manpath while ensuring we don't have duplicates.
35 case "$manpath" in
36 *:$1) decho " Skipping duplicate manpath entry $1" 2 ;;
37 $1:*) decho " Skipping duplicate manpath entry $1" 2 ;;
38 *:$1:*) decho " Skipping duplicate manpath entry $1" 2 ;;
40 decho " Adding $1 to manpath"
41 manpath="$manpath:$1"
71 # If the user has set a manpath, who are we to argue.
94 decho "Adding default manpath entrie
[all...]
/freebsd-11-stable/etc/periodic/weekly/
H A D320.whatis19 MANPATH=`/usr/bin/manpath -q`
24 echo "manpath failed to find any manpage directories"
27 man_locales=`/usr/bin/manpath -qL`
H A D330.catman25 MANPATH=`/usr/bin/manpath -q`
30 echo "manpath failed to find any manpath directories"
33 man_locales=`/usr/bin/manpath -qL`
/freebsd-11-stable/contrib/mdocml/
H A Dmanconf.h43 struct manpaths manpath; member in struct:manconf
H A Dmanpath.c1 /* $Id: manpath.c,v 1.35 2017/07/01 09:47:30 schwarze Exp $ */
47 manpath_parseline(&conf->manpath, auxp, 1);
51 manpath_parseline(&conf->manpath, defp, 1);
69 manpath_parseline(&conf->manpath, defp, 0);
75 manpath_parseline(&conf->manpath, defp, 0);
84 manpath_parseline(&conf->manpath, defp, 0);
86 manpath_parseline(&conf->manpath, insert + 1, 0);
91 manpath_parseline(&conf->manpath, defp, 0);
130 warn("manpath: %s", dir);
140 warn("manpath
[all...]
H A Dcgi.c50 char *manpath; /* desired manual directory */ member in struct:query
203 req->q.manpath = NULL;
239 else if ( ! strcmp(key, "manpath")) {
247 set_query_attr(&req->q.manpath, &val);
445 /* Write manpath selector. */
448 puts(" <select name=\"manpath\">");
451 if (strcmp(req->q.manpath, req->p[i]) == 0)
481 validate_manpath(const struct req *req, const char* manpath) argument
486 if ( ! strcmp(manpath, req->p[i]))
561 if (strcmp(req->q.manpath, re
889 char *manpath; local
[all...]
H A Dmandocdb.c95 char file[PATH_MAX]; /* filename rel. to manpath */
479 conf.manpath.paths = mandoc_reallocarray(NULL,
481 conf.manpath.sz = (size_t)argc;
483 conf.manpath.paths[i] = mandoc_strdup(argv[i]);
487 if (conf.manpath.sz == 0) {
489 say("", "Empty manpath");
498 for (j = 0; j < conf.manpath.sz; j++) {
499 sz = strlen(conf.manpath.paths[j]);
500 if (sz && conf.manpath.paths[j][sz - 1] == '/')
501 conf.manpath
[all...]
H A DMakefile.depend46 manpath.o: manpath.c config.h mandoc_aux.h manconf.h
H A Dmain.c373 if ( ! mansearch(&search, &conf.manpath,
379 fs_search(&search, &conf.manpath,
481 (void)chdir(conf.manpath.paths[resp->ipath]);
H A DMakefile100 manpath.c \
289 manpath.o \
/freebsd-11-stable/usr.bin/mandoc/
H A DMakefile90 manpath.c \
/freebsd-11-stable/usr.bin/catman/
H A Dcatman.c810 const char *manpath = getenv("MANPATH"); local
811 if (manpath == NULL)
812 manpath = DEFAULT_MANPATH;
813 process_argument(manpath);
/freebsd-11-stable/usr.bin/makewhatis/
H A Dmakewhatis.c1038 const char *manpath = getenv("MANPATH"); local
1039 if (manpath == NULL)
1040 manpath = DEFAULT_MANPATH;
1041 process_argument(manpath);
/freebsd-11-stable/contrib/groff/contrib/groffer/
H A Dgroffer2.sh432 _OPTS_MAN_LONG_ARG="'locale' 'manpath' \
500 export _MANOPT_PATH; # $MANOPT --manpath
2890 if is_prog 'manpath'
2892 _MAN_PATH="$(manpath 2>${_NULL_DEV})"; # not always available
3871 --local-file=name, --location, --manpath=dir1:dir2:...,
4313 -M|--manpath)
4314 list_append mpm_list '--manpath' "$1";
4583 --manpath) # specify search path for man pages, arg

Completed in 125 milliseconds