Source-Changes-HG archive

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

[src/trunk]: src/share/mk Sort texinfo dir file for MKREPRO



details:   https://anonhg.NetBSD.org/src/rev/9f61bf65155d
branches:  trunk
changeset: 342364:9f61bf65155d
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Dec 18 18:57:56 2015 +0000

description:
Sort texinfo dir file for MKREPRO

diffstat:

 share/mk/bsd.info.mk |  4 +++-
 share/mk/bsd.own.mk  |  4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r 8a18786677e9 -r 9f61bf65155d share/mk/bsd.info.mk
--- a/share/mk/bsd.info.mk      Fri Dec 18 18:56:47 2015 +0000
+++ b/share/mk/bsd.info.mk      Fri Dec 18 18:57:56 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.info.mk,v 1.40 2011/09/10 16:57:35 apb Exp $
+#      $NetBSD: bsd.info.mk,v 1.41 2015/12/18 18:57:56 christos Exp $
 
 .include <bsd.init.mk>
 
@@ -47,6 +47,8 @@
                do sleep 1; done;                                       \
        ${TOOL_INSTALL_INFO} -d ${INFODIRFILE} -r ${.TARGET} 2> /dev/null; \
        ${TOOL_INSTALL_INFO} -d ${INFODIRFILE} ${.TARGET};              \
+       ${TOOL_SORTINFO} < ${INFODIRFILE} > ${INFODIRFILE}.tmp;         \
+       mv -f ${INFODIRFILE}.tmp ${INFODIRFILE};                        \
        rm -f ${INFODIRFILE}.lock
 
 
diff -r 8a18786677e9 -r 9f61bf65155d share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Fri Dec 18 18:56:47 2015 +0000
+++ b/share/mk/bsd.own.mk       Fri Dec 18 18:57:56 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.881 2015/12/01 22:18:26 joerg Exp $
+#      $NetBSD: bsd.own.mk,v 1.882 2015/12/18 18:57:56 christos Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -388,6 +388,7 @@
 TOOL_SED=              ${TOOLDIR}/bin/${_TOOL_PREFIX}sed
 TOOL_SLC=              ${TOOLDIR}/bin/${_TOOL_PREFIX}slc
 TOOL_SOELIM=           ${TOOLDIR}/bin/${_TOOL_PREFIX}soelim
+TOOL_SORTINFO=         ${TOOLDIR}/bin/${_TOOL_PREFIX}sortinfo
 TOOL_SPARKCRC=         ${TOOLDIR}/bin/${_TOOL_PREFIX}sparkcrc
 TOOL_STAT=             ${TOOLDIR}/bin/${_TOOL_PREFIX}stat
 TOOL_STRFILE=          ${TOOLDIR}/bin/${_TOOL_PREFIX}strfile
@@ -495,6 +496,7 @@
 TOOL_RPCGEN=           rpcgen
 TOOL_SED=              sed
 TOOL_SOELIM=           soelim
+TOOL_SOELIM=           sortinfo
 TOOL_SPARKCRC=         sparkcrc
 TOOL_STAT=             stat
 TOOL_STRFILE=          strfile



Home | Main Index | Thread Index | Old Index