aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/mandoc
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-12-02 23:24:57 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-12-02 23:24:57 +0000
commit1fb816da826544f96bf51c7a4570c79ab7230a09 (patch)
tree6b285eca5de51692bcaade66a629a2b84eadb8c7 /usr.bin/mandoc
parent4da1bbcda5bdffca7978751ba279edc3cb1529aa (diff)
parent81bffeeaab8522951713b1d92166c2c877ceedc3 (diff)
downloadsrc-1fb816da826544f96bf51c7a4570c79ab7230a09.tar.gz
src-1fb816da826544f96bf51c7a4570c79ab7230a09.zip
Update to mandoc cvs version as of 20141201
- Compatiblity with existing manpages has been improved - Now support ".so" directive with compressed manpages (which fixes a regression we have since we have new man(1))
Notes
Notes: svn path=/head/; revision=275432
Diffstat (limited to 'usr.bin/mandoc')
-rw-r--r--usr.bin/mandoc/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/usr.bin/mandoc/Makefile b/usr.bin/mandoc/Makefile
index ef3c05ff15f1..a5d871b2c04a 100644
--- a/usr.bin/mandoc/Makefile
+++ b/usr.bin/mandoc/Makefile
@@ -15,7 +15,9 @@ HTML_SRCS= eqn_html.c \
man_html.c \
mdoc_html.c \
tbl_html.c
+
MAN_SRCS= mdoc_man.c
+
TERM_SRCS= eqn_term.c \
man_term.c \
mdoc_term.c \
@@ -23,6 +25,7 @@ TERM_SRCS= eqn_term.c \
term_ascii.c \
term_ps.c \
tbl_term.c
+
SRCS= ${HTML_SRCS} \
${MAN_SRCS} \
${TERM_SRCS} \
@@ -30,8 +33,16 @@ SRCS= ${HTML_SRCS} \
out.c \
tree.c
+APROPOS_SRCS= mansearch.c \
+ mansearch_const.c \
+ manpath.c
+
+SRCS+= ${APROPOS_SRCS}
+
WARNS?= 3
-CFLAGS+= -DHAVE_CONFIG_H
-LIBADD= mandoc
+CFLAGS+= -DHAVE_CONFIG_H \
+ -I${.CURDIR}/../../lib/libohash/ \
+ -I${.CURDIR}/../../contrib/sqlite3
+LIBADD= mandoc ohash sqlite3
.include <bsd.prog.mk>