6703ae951f
now, DO_COMPRESS. This controls whether or not catpages are compressed or not (on by default, since little else uses the catpages and those few things that do can always configure in a `zmore' in place of more or something, and saving space is more important, IMHO). Uncompression support is now on by default since that's the only way to support mixed-mode environments. If you don't like it, just don't compress your man pages and it won't be used! :-). Supports gzip. You can also compress the man pages themselves (or gzip them) now and it will work.
37 lines
867 B
Makefile
37 lines
867 B
Makefile
#
|
|
# Set a bunch of things to hardcoded paths so that we don't accidently
|
|
# pick up a user's own version of some utility and hose ourselves.
|
|
#
|
|
BINDIR?= /usr/bin
|
|
libdir= /etc
|
|
bindir= ${BINDIR}
|
|
pager= more -cs
|
|
manpath_config_file= /etc/manpath.config
|
|
troff= /usr/bin/groff -Tps -man
|
|
nroff= /usr/bin/groff -Tascii -man
|
|
apropos= /usr/bin/apropos
|
|
whatis= /usr/bin/whatis
|
|
neqn= /usr/bin/eqn -Tascii
|
|
tbl= /usr/bin/tbl
|
|
col= /usr/bin/col
|
|
vgrind= /usr/bin/vgrind
|
|
refer= /usr/bin/refer
|
|
grap= # no grap
|
|
pic= /usr/bin/pic
|
|
zcat= /usr/bin/zcat
|
|
compress= gzip -c
|
|
compext= .gz
|
|
|
|
# For scripts.
|
|
.if !target(obj)
|
|
obj:
|
|
@cd ${.CURDIR}; rm -rf obj; \
|
|
here=`pwd`; dest=/usr/obj/`echo $$here | sed 's,/usr/src/,,'`; \
|
|
echo "$$here -> $$dest"; ln -s $$dest obj; \
|
|
if test -d /usr/obj -a ! -d $$dest; then \
|
|
mkdir -p $$dest; \
|
|
else \
|
|
true; \
|
|
fi;
|
|
.endif
|