diff options
author | uqs <uqs@FreeBSD.org> | 2012-10-19 22:21:01 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2012-10-19 22:21:01 +0000 |
commit | bdec3cb5a747bba9c264cfc079075a9cdd270b9b (patch) | |
tree | f3e4c243809ab9802585681d5a07885f772eb5b0 /usr.bin | |
parent | 3362252a56bf0d1c15907a461e1692760af910c7 (diff) | |
parent | c2dfbbd38125b2ba3608eb48ca3b5e2e23f819df (diff) | |
download | FreeBSD-src-bdec3cb5a747bba9c264cfc079075a9cdd270b9b.zip FreeBSD-src-bdec3cb5a747bba9c264cfc079075a9cdd270b9b.tar.gz |
Merge mandoc from vendor into contrib and provide the necessary Makefile glue.
It's not yet connected to the build.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mandoc/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/usr.bin/mandoc/Makefile b/usr.bin/mandoc/Makefile new file mode 100644 index 0000000..0995534 --- /dev/null +++ b/usr.bin/mandoc/Makefile @@ -0,0 +1,22 @@ +# $FreeBSD$ + +MDOCMLDIR= ${.CURDIR}/../../contrib/mdocml +LIBMANDOC= ${.OBJDIR}/../../lib/libmandoc/libmandoc.a +.PATH: ${MDOCMLDIR} + +PROG= mandoc +FILES= example.style.css external.png style.css +FILESDIR= ${SHAREDIR}/mdocml +LINKS= mdocml +MAN= mandoc.1 eqn.7 mandoc_char.7 tbl.7 # man.7 mdoc.7 roff.7 +MLINKS= mandoc.1 mdocml.1 +SRCS= eqn_html.c eqn_term.c html.c main.c man_html.c man_term.c mdoc_html.c \ + mdoc_man.c mdoc_term.c out.c tbl_html.c tbl_term.c term.c \ + term_ascii.c term_ps.c tree.c + +WARNS?= 3 +CFLAGS+= -DHAVE_CONFIG_H -DVERSION="\"1.12.1\"" +DPADD= ${LIBMANDOC} +LDADD= ${LIBMANDOC} + +.include <bsd.prog.mk> |