Module Name:    src
Committed By:   dyoung
Date:           Tue May 19 22:01:35 UTC 2009

Modified Files:
        src/sys/arch/sparc64: Makefile

Log Message:
Use ${FINDCOMM} to avoid 'Arguments list too long'-related failure
of 'tags' target.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/sparc64/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sparc64/Makefile
diff -u src/sys/arch/sparc64/Makefile:1.17 src/sys/arch/sparc64/Makefile:1.18
--- src/sys/arch/sparc64/Makefile:1.17	Sat Oct 25 22:27:38 2008
+++ src/sys/arch/sparc64/Makefile	Tue May 19 22:01:34 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2008/10/25 22:27:38 apb Exp $
+#	$NetBSD: Makefile,v 1.18 2009/05/19 22:01:34 dyoung Exp $
 
 # Makefile for sparc64 tags file and boot blocks
 
@@ -16,11 +16,13 @@
 .include "../../kern/Make.tags.inc"
 
 tags:
-	-rm ${TSPARC64}
-	-echo ${SSPARC64} ${COMM} | xargs ctags -wadtf ${TSPARC64}
+	-rm -f ${TSPARC64}
+	-echo ${SSPARC64} | xargs ctags -wadtf ${TSPARC64}
+	${FINDCOMM} | xargs ctags -wadtf ${TSPARC64}
 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC64} | \
+	    ${TOOL_SED} -e "s;/;\\/;g" | \
 	    ${TOOL_SED} -e \
-		"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
+		"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3	\1	/^\2(\3\4$$/;" \
 	    >> tags
 	sort -o ${TSPARC64} ${TSPARC64}
 

Reply via email to