Return to Makefile CVS log | Up to [local] / src / usr.bin / mandoc |
File: [local] / src / usr.bin / mandoc / Makefile (download)
Revision 1.66, Thu Jan 5 23:03:57 2012 UTC (12 years, 5 months ago) by schwarze
Enable the new apropos(1), whatis(1), and makewhatis(8). Unlink the old apropos(1), whatis(1), and makewhatis(8) from the build. Call the new tools from pkg_create(1) and pkg_add(1). "Please enable it now." deraadt@ |
# $OpenBSD: Makefile,v 1.66 2012/01/05 23:03:57 schwarze Exp $ .include <bsd.own.mk> CFLAGS+=-DVERSION=\"1.12.0\" CFLAGS+=-W -Wall -Wstrict-prototypes .if ${COMPILER_VERSION:L} == "gcc3" || ${COMPILER_VERSION:L} == "gcc4" CFLAGS+=-Wno-unused-parameter .endif SRCS= roff.c tbl.c tbl_opts.c tbl_layout.c tbl_data.c eqn.c mandoc.c read.c SRCS+= mdoc_macro.c mdoc.c mdoc_hash.c \ mdoc_argv.c mdoc_validate.c lib.c att.c \ arch.c vol.c msec.c st.c SRCS+= man_macro.c man.c man_hash.c man_validate.c SRCS+= main.c mdoc_term.c chars.c term.c tree.c man_term.c eqn_term.c SRCS+= mdoc_man.c SRCS+= html.c mdoc_html.c man_html.c out.c eqn_html.c SRCS+= term_ps.c term_ascii.c tbl_term.c tbl_html.c SRCS+= manpath.c mandocdb.c apropos_db.c apropos.c PROG= mandoc LINKS= ${BINDIR}/mandoc ${BINDIR}/apropos LINKS+= ${BINDIR}/mandoc ${BINDIR}/mandocdb LINKS+= ${BINDIR}/mandoc ${BINDIR}/whatis LINKS+= ${BINDIR}/mandoc /usr/libexec/makewhatis MAN= apropos.1 mandoc.1 mandocdb.8 whatis.1 MLINKS= mandocdb.8 makewhatis.8 .include <bsd.prog.mk>