Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen Make the 'tags' target work by borrowing stuff ...



details:   https://anonhg.NetBSD.org/src/rev/2b253a35a1d8
branches:  trunk
changeset: 746709:2b253a35a1d8
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Tue Aug 18 17:21:51 2009 +0000

description:
Make the 'tags' target work by borrowing stuff from sys/arch/i386/Makefile.

diffstat:

 sys/arch/xen/Makefile |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r eab5df572da5 -r 2b253a35a1d8 sys/arch/xen/Makefile
--- a/sys/arch/xen/Makefile     Tue Aug 18 17:20:20 2009 +0000
+++ b/sys/arch/xen/Makefile     Tue Aug 18 17:21:51 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2009/05/20 03:41:25 dyoung Exp $
+#      $NetBSD: Makefile,v 1.8 2009/08/18 17:21:51 dyoung Exp $
 
 .include <bsd.own.mk>
 
@@ -12,9 +12,12 @@
 
 TXEN=  ${SYSDIR}/arch/xen/tags
 
-SXEN!= ${TOOL_AWK} '($$2 ~ /^arch.*\.[c]$$/) {print "${SYSDIR}/" $$2}' \
+SXEN!= ${TOOL_AWK} '/^\#/ { next } ($$2 ~ /^arch.*\.[c]$$/) {print "${SYSDIR}/" $$2}' \
                ${SYSDIR}/arch/xen/conf/files.xen
-AXEN!= ${TOOL_AWK} '($$2 ~ /^arch.*\.[sS]$$/) {print "${SYSDIR}/" $$2}' \
+SXEN+= ${SYSDIR}/arch/xen/include/*.h
+SXEN+= ${SYSDIR}/arch/xen/include/*/*.h
+SXEN+= ${SYSDIR}/arch/xen/include/*/*/*.h
+AXEN!= ${TOOL_AWK} '/^\#/ { next } ($$2 ~ /^arch.*\.[sS]$$/) {print "${SYSDIR}/" $$2}' \
                ${SYSDIR}/arch/xen/conf/files.xen
 AXEN+= ${SYSDIR}/arch/xen/${XEN_BUILD}/*.[sS]
 
@@ -27,7 +30,7 @@
        ${FINDCOMM} | xargs ctags -wadtf ${TXEN}
        egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AXEN} | \
            ${TOOL_SED} -e \
-               "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
+       "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3     \1      /^\2(\3\4$$/;" \
                >> ${TXEN}
        sort -o ${TXEN} ${TXEN}
 



Home | Main Index | Thread Index | Old Index