This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bug in `make TAGS'



[gcc]# make -C ~/d/mk/gcc TAGS

cd /root/d/mk/gcc/
make -C ~/d/mk/gcc TAGS
make: Entering directory `/root/d/mk/gcc'
cd ../../cvs/egcs/gcc;							\
mkdir tmp-tags;							\
mv -f c-parse.[ch] =*.[chy] tmp-tags;				\
etags *.y *.h *.c;						\
mv tmp-tags/* .;						\
rmdir tmp-tags
mv: =*.[chy]: No such file or directory
make: Leaving directory `/root/d/mk/gcc'


# Update the tags table.
TAGS: force
	cd $(srcdir);							\
	mkdir tmp-tags;							\
	mv -f c-parse.[ch] =*.[chy] tmp-tags;				\
	etags *.y *.h *.c;						\
	mv tmp-tags/* .;						\
	rmdir tmp-tags

Is `=*.[chy]' a normal pattern ?



I'm prefer something like:

# Update the tags table.
TAGS: force
	etags $(srcdir)/*.[chy] *.[chy]

In this case TAGS will be stored to my work directory ~/d/mk/gcc
not to CVS.


Denis.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]