|
version 1.5, 2000/08/01 18:53:07
|
version 1.6, 2001/01/27 17:24:27
|
|
|
|
| from the X Consortium. | from the X Consortium. |
| | |
| */ | */ |
| /* $XFree86: xc/programs/xman/vendor.h,v 1.4 2000/03/03 23:16:29 dawes Exp $ */ |
/* $XFree86: xc/programs/xman/vendor.h,v 1.5 2000/08/01 18:53:07 dawes Exp $ */ |
| | |
| /* Vendor-specific definitions */ | /* Vendor-specific definitions */ |
| | |
|
|
|
| # define NO_COMPRESS | # define NO_COMPRESS |
| # else | # else |
| # define COMPRESSION_EXTENSION "Z" | # define COMPRESSION_EXTENSION "Z" |
| |
# ifndef HAS_MKSTEMP |
| # define UNCOMPRESS_FORMAT "zcat < %s > %s" | # define UNCOMPRESS_FORMAT "zcat < %s > %s" |
| |
# else |
| |
# define UNCOMPRESS_FORMAT "zcat < %s >> %s" |
| |
# endif |
| # define COMPRESS "compress" | # define COMPRESS "compress" |
| # define GZIP_EXTENSION "gz" | # define GZIP_EXTENSION "gz" |
| |
# ifndef HAS_MKSTEMP |
| # define GUNZIP_FORMAT "gzip -c -d < %s > %s" | # define GUNZIP_FORMAT "gzip -c -d < %s > %s" |
| |
# else |
| |
# define GUNZIP_FORMAT "gzip -c -d < %s >> %s" |
| |
# endif |
| # define GZIP_COMPRESS "gzip" | # define GZIP_COMPRESS "gzip" |
| # endif /* ISC */ | # endif /* ISC */ |
| # endif /* UTEK */ | # endif /* UTEK */ |
|
|
|
| # define NO_MANPATH_SUPPORT | # define NO_MANPATH_SUPPORT |
| #endif | #endif |
| | |
| |
#ifndef HAS_MKSTEMP |
| #ifdef NO_MANPATH_SUPPORT | #ifdef NO_MANPATH_SUPPORT |
| # define APROPOS_FORMAT ("man -k %s | pr -h Apropos >> %s") |
# define APROPOS_FORMAT ("man -k %s | pr -h Apropos > %s") |
| #else | #else |
| # define APROPOS_FORMAT ("man -M %s -k %s | pr -h Apropos > %s") | # define APROPOS_FORMAT ("man -M %s -k %s | pr -h Apropos > %s") |
| |
# endif |
| |
#else |
| |
/* with mkstemp the temp output file is already created */ |
| |
# ifdef NO_MANPATH_SUPPORT |
| |
# define APROPOS_FORMAT ("man -k %s | pr -h Apropos >> %s") |
| |
# else |
| |
# define APROPOS_FORMAT ("man -M %s -k %s | pr -h Apropos >> %s") |
| |
# endif |
| #endif | #endif |
| | |
| #ifdef ultrix | #ifdef ultrix |