Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Update build glue for mdocml 1.11.1.



details:   https://anonhg.NetBSD.org/src/rev/271dc8aa380e
branches:  trunk
changeset: 764297:271dc8aa380e
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Apr 15 14:36:28 2011 +0000

description:
Update build glue for mdocml 1.11.1.

diffstat:

 distrib/sets/lists/comp/mi                 |  17 ++++++++++-------
 external/bsd/mdocml/Makefile.inc           |   7 +++----
 external/bsd/mdocml/bin/mandoc/Makefile    |  21 +++++++++------------
 external/bsd/mdocml/lib/Makefile           |   4 ++--
 external/bsd/mdocml/lib/libman/Makefile    |  10 ----------
 external/bsd/mdocml/lib/libmandoc/Makefile |  13 +++++++++++++
 external/bsd/mdocml/lib/libmdoc/Makefile   |  11 -----------
 external/bsd/mdocml/lib/libroff/Makefile   |  11 -----------
 8 files changed, 37 insertions(+), 57 deletions(-)

diffs (202 lines):

diff -r 87dad66296f5 -r 271dc8aa380e distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi        Fri Apr 15 13:47:17 2011 +0000
+++ b/distrib/sets/lists/comp/mi        Fri Apr 15 14:36:28 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: mi,v 1.1614 2011/04/12 08:22:48 jruoho Exp $
+#      $NetBSD: mi,v 1.1615 2011/04/15 14:36:28 joerg Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -7348,7 +7348,8 @@
 ./usr/share/man/cat3/makecontext.0             comp-c-catman           .cat
 ./usr/share/man/cat3/makedev.0                 comp-c-catman           .cat
 ./usr/share/man/cat3/malloc.0                  comp-c-catman           .cat
-./usr/share/man/cat3/man.0                     comp-mdocml-catman      .cat
+./usr/share/man/cat3/man.0                     comp-obsolete           obsolete
+./usr/share/man/cat3/mandoc.0                  comp-mdocml-catman      .cat
 ./usr/share/man/cat3/math.0                    comp-c-catman           .cat
 ./usr/share/man/cat3/mblen.0                   comp-c-catman           .cat
 ./usr/share/man/cat3/mbrlen.0                  comp-c-catman           .cat
@@ -7361,7 +7362,7 @@
 ./usr/share/man/cat3/md4.0                     comp-c-catman           .cat
 ./usr/share/man/cat3/md5.0                     comp-c-catman           .cat
 ./usr/share/man/cat3/mdc2.0                    comp-obsolete           obsolete
-./usr/share/man/cat3/mdoc.0                    comp-mdocml-catman      .cat
+./usr/share/man/cat3/mdoc.0                    comp-obsolete           obsolete
 ./usr/share/man/cat3/membar_consumer.0         comp-c-catman           .cat
 ./usr/share/man/cat3/membar_enter.0            comp-c-catman           .cat
 ./usr/share/man/cat3/membar_exit.0             comp-c-catman           .cat
@@ -13400,7 +13401,8 @@
 ./usr/share/man/html3/makecontext.html         comp-c-htmlman          html
 ./usr/share/man/html3/makedev.html             comp-c-htmlman          html
 ./usr/share/man/html3/malloc.html              comp-c-htmlman          html
-./usr/share/man/html3/man.html                 comp-mdocml-htmlman     html
+./usr/share/man/html3/man.html                 comp-obsolete           obsolete
+./usr/share/man/html3/mandoc.html              comp-mdocml-htmlman     html
 ./usr/share/man/html3/math.html                        comp-c-htmlman          html
 ./usr/share/man/html3/mblen.html               comp-c-htmlman          html
 ./usr/share/man/html3/mbrlen.html              comp-c-htmlman          html
@@ -13412,7 +13414,7 @@
 ./usr/share/man/html3/md2.html                 comp-c-htmlman          html
 ./usr/share/man/html3/md4.html                 comp-c-htmlman          html
 ./usr/share/man/html3/md5.html                 comp-c-htmlman          html
-./usr/share/man/html3/mdoc.html                        comp-mdocml-htmlman     html
+./usr/share/man/html3/mdoc.html                        comp-obsolete           obsolete
 ./usr/share/man/html3/membar_consumer.html     comp-c-htmlman          html
 ./usr/share/man/html3/membar_enter.html                comp-c-htmlman          html
 ./usr/share/man/html3/membar_exit.html         comp-c-htmlman          html
@@ -19436,7 +19438,8 @@
 ./usr/share/man/man3/makecontext.3             comp-c-man              .man
 ./usr/share/man/man3/makedev.3                 comp-c-man              .man
 ./usr/share/man/man3/malloc.3                  comp-c-man              .man
-./usr/share/man/man3/man.3                     comp-mdocml-man         .man
+./usr/share/man/man3/man.3                     comp-obsolete           obsolete
+./usr/share/man/man3/mandoc.3                  comp-mdocml-man         .man
 ./usr/share/man/man3/math.3                    comp-c-man              .man
 ./usr/share/man/man3/mblen.3                   comp-c-man              .man
 ./usr/share/man/man3/mbrlen.3                  comp-c-man              .man
@@ -19449,7 +19452,7 @@
 ./usr/share/man/man3/md4.3                     comp-c-man              .man
 ./usr/share/man/man3/md5.3                     comp-c-man              .man
 ./usr/share/man/man3/mdc2.3                    comp-obsolete           obsolete
-./usr/share/man/man3/mdoc.3                    comp-mdocml-man         .man
+./usr/share/man/man3/mdoc.3                    comp-obsolete           obsolete
 ./usr/share/man/man3/membar_consumer.3         comp-c-man              .man
 ./usr/share/man/man3/membar_enter.3            comp-c-man              .man
 ./usr/share/man/man3/membar_exit.3             comp-c-man              .man
diff -r 87dad66296f5 -r 271dc8aa380e external/bsd/mdocml/Makefile.inc
--- a/external/bsd/mdocml/Makefile.inc  Fri Apr 15 13:47:17 2011 +0000
+++ b/external/bsd/mdocml/Makefile.inc  Fri Apr 15 14:36:28 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.12 2010/07/25 19:16:18 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.13 2011/04/15 14:36:30 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -7,15 +7,14 @@
 CPPFLAGS+=     -DVERSION=\"${VERSION}\" -DUGLY
 
 .if (${HOSTPROG:U} == "")
-CPPFLAGE+=     -DHAVE_STRLCAT -DHAVE_STRLCPY
+CPPFLAGS+=     -DHAVE_STRLCAT -DHAVE_STRLCPY
 .endif
 
-
 DISTDIR:=      ${.PARSEDIR}/dist
 
 .PATH: ${DISTDIR}
 
-.for _LIB in man mdoc roff
+.for _LIB in mandoc
 MDOCMLOBJDIR.${_LIB} !=        cd ${.PARSEDIR}/lib/lib${_LIB} && ${PRINTOBJDIR}
 MDOCMLLIB.${_LIB}=     ${MDOCMLOBJDIR.${_LIB}}/lib${_LIB}.a
 .endfor
diff -r 87dad66296f5 -r 271dc8aa380e external/bsd/mdocml/bin/mandoc/Makefile
--- a/external/bsd/mdocml/bin/mandoc/Makefile   Fri Apr 15 13:47:17 2011 +0000
+++ b/external/bsd/mdocml/bin/mandoc/Makefile   Fri Apr 15 14:36:28 2011 +0000
@@ -1,24 +1,21 @@
-# $NetBSD: Makefile,v 1.4 2011/01/12 23:02:21 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2011/04/15 14:36:30 joerg Exp $
 
 .include <bsd.own.mk>
 
 PROG=          mandoc
 
-SRCS=          main.c mdoc_term.c chars.c term.c term_ascii.c term_ps.c \
-               tbl_term.c tbl_html.c tree.c compat.c \
-               man_term.c html.c mdoc_html.c man_html.c out.c
+SRCS=          chars.c main.c out.c tree.c \
+               html.c man_html.c mdoc_html.c tbl_html.c \
+               man_term.c mdoc_term.c term.c term_ascii.c \
+               term_ps.c tbl_term.c
 
 .ifndef HOSTPROG
-DPADD+=        ${MDOCMLLIB.man} ${MDOCMLLIB.mdoc} ${MDOCMLLIB.roff}
-LDADD+=        -L${MDOCMLOBJDIR.man} -lman \
-               -L${MDOCMLOBJDIR.mdoc} -lmdoc \
-               -L${MDOCMLOBJDIR.roff} -lroff
+DPADD+=        ${MDOCMLLIB.mandoc}
+LDADD+=        -L${MDOCMLOBJDIR.mandoc} -lmandoc
 .else
-SRCS.libman!=  cd ${.PARSEDIR}/../../lib/libman && ${MAKE} -V '$${SRCS}'
-SRCS.libmdoc!= cd ${.PARSEDIR}/../../lib/libmdoc && ${MAKE} -V '$${SRCS}'
-SRCS.libroff!= cd ${.PARSEDIR}/../../lib/libroff && ${MAKE} -V '$${SRCS}'
+SRCS.libmandoc!=cd ${.PARSEDIR}/../../lib/libmandoc && ${MAKE} -V '$${SRCS}'
 
-SRCS+=         ${SRCS.libman} ${SRCS.libmdoc:Nmandoc.c} ${SRCS.libroff}
+SRCS+=         ${SRCS.libmandoc}
 .endif
 
 .include <bsd.prog.mk>
diff -r 87dad66296f5 -r 271dc8aa380e external/bsd/mdocml/lib/Makefile
--- a/external/bsd/mdocml/lib/Makefile  Fri Apr 15 13:47:17 2011 +0000
+++ b/external/bsd/mdocml/lib/Makefile  Fri Apr 15 14:36:28 2011 +0000
@@ -1,5 +1,5 @@
-# $NetBSD: Makefile,v 1.2 2010/06/01 21:32:39 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2011/04/15 14:36:30 joerg Exp $
 
-SUBDIR=        libman libmdoc libroff
+SUBDIR=        libmandoc
 
 .include <bsd.subdir.mk>
diff -r 87dad66296f5 -r 271dc8aa380e external/bsd/mdocml/lib/libman/Makefile
--- a/external/bsd/mdocml/lib/libman/Makefile   Fri Apr 15 13:47:17 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2011/01/12 23:02:22 joerg Exp $
-
-LIBISPRIVATE=  yes
-
-LIB=           man
-SRCS=          man_macro.c man.c man_hash.c man_validate.c \
-               mandoc.c man_argv.c
-MAN=           mdoc.3
-
-.include <bsd.lib.mk>
diff -r 87dad66296f5 -r 271dc8aa380e external/bsd/mdocml/lib/libmandoc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/mdocml/lib/libmandoc/Makefile        Fri Apr 15 14:36:28 2011 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2011/04/15 14:36:31 joerg Exp $
+
+LIBISPRIVATE=  yes
+
+LIB=   mandoc
+SRCS=  man.c man_hash.c man_macro.c man_validate.c \
+       arch.c att.c lib.c mdoc.c mdoc_argv.c mdoc_hash.c mdoc_macro.c \
+       mdoc_validate.c msec.c st.c vol.c \
+       eqn.c roff.c tbl.c tbl_data.c tbl_layout.c tbl_opts.c \
+       mandoc.c read.c
+MAN=   mandoc.3
+
+.include <bsd.lib.mk>
diff -r 87dad66296f5 -r 271dc8aa380e external/bsd/mdocml/lib/libmdoc/Makefile
--- a/external/bsd/mdocml/lib/libmdoc/Makefile  Fri Apr 15 13:47:17 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2011/01/12 23:02:22 joerg Exp $
-
-LIBISPRIVATE=  yes
-
-LIB=           mdoc
-SRCS=          mdoc_macro.c mdoc.c mdoc_hash.c mdoc_strings.c \
-               mdoc_argv.c mdoc_validate.c lib.c att.c \
-               arch.c vol.c msec.c st.c mandoc.c
-MAN=           man.3
-
-.include <bsd.lib.mk>
diff -r 87dad66296f5 -r 271dc8aa380e external/bsd/mdocml/lib/libroff/Makefile
--- a/external/bsd/mdocml/lib/libroff/Makefile  Fri Apr 15 13:47:17 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2011/01/12 23:02:22 joerg Exp $
-
-LIBISPRIVATE=  yes
-
-LIB=           roff
-SRCS=          roff.c tbl.c tbl_opts.c tbl_layout.c tbl_data.c
-MAN=
-
-COPTS.tbl_layout.c=    -Wno-shadow
-
-.include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index