Print this page
Add catman, makewhatis functionality.  Print an error if the whatis database
is missing.

@@ -12,19 +12,20 @@
 #
 # Copyright 2012 Nexenta Systems, Inc. All rights reserved.
 #
 
 PROG=           man
-LINKS=          apropos whatis
+LINKS=          apropos whatis catman
+LIBLINKS =      makewhatis
 OBJS=           makewhatis.o man.o stringlist.o
 SRCS=           $(OBJS:%.o=%.c)
 
 include         $(SRC)/cmd/Makefile.cmd
 
 CFLAGS +=       $(CCVERBOSE)
 
-ROOTLINKS=      $(LINKS:%=$(ROOTBIN)/%)
+ROOTLINKS=      $(LINKS:%=$(ROOTBIN)/%) $(LIBLINKS:%=$(ROOTLIB)/%)
 
 .KEEP_STATE :
 
 all:            $(PROG)