Write tab-separated records to 'tags' file. A popular vi-alike,

vim, expects for the columns in tags files to be tab-separated,
but these makefiles created space-separated records for the assembly
sources.
This commit is contained in:
dyoung 2005-03-02 04:49:59 +00:00
parent 1f64b720ce
commit 23ec02085c
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.23 2004/01/16 10:08:42 dyoung Exp $
# $NetBSD: Makefile,v 1.24 2005/03/02 04:49:59 dyoung Exp $
# Makefile for i386 tags file and boot blocks
@ -19,7 +19,7 @@ tags:
rm -f ${TI386}
-echo ${SI386} ${COMM} | xargs ctags -wadtf ${TI386}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${TI386}
sort -o ${TI386} ${TI386}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2004/03/13 05:55:40 dyoung Exp $
# $NetBSD: Makefile,v 1.5 2005/03/02 04:49:59 dyoung Exp $
# Makefile for macppc tags file
@ -19,7 +19,7 @@ tags:
rm -f ${TIMACPPC}
-echo ${SIMACPPC} ${COMM} | xargs ctags -wadtf ${TIMACPPC}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AIMACPPC} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${TIMACPPC}
sort -o ${TIMACPPC} ${TIMACPPC}