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

*** 12,30 **** # # Copyright 2012 Nexenta Systems, Inc. All rights reserved. # PROG= man ! LINKS= apropos whatis OBJS= makewhatis.o man.o stringlist.o SRCS= $(OBJS:%.o=%.c) include $(SRC)/cmd/Makefile.cmd CFLAGS += $(CCVERBOSE) ! ROOTLINKS= $(LINKS:%=$(ROOTBIN)/%) .KEEP_STATE : all: $(PROG) --- 12,31 ---- # # Copyright 2012 Nexenta Systems, Inc. All rights reserved. # PROG= man ! 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)/%) $(LIBLINKS:%=$(ROOTLIB)/%) .KEEP_STATE : all: $(PROG)