make TAGS failure
Ian Wienand
ianw@gelato.unsw.edu.au
Tue Sep 16 07:52:00 GMT 2003
Hello,
When running make TAGS I got
make[4]: Entering directory `/local/ianw/fsyscall/libc/po'
make[4]: *** No rule to make target `be.mo', needed by `TAGS'. Stop.
This was because MakeTAGS was picking up the files to make tags for
from the distinfo file, and some of those files weren't generated yet
(the binary .mo files). I figure we only want to make tags for source
code, so one way to fix this is to filter to only try with source code
files.
-i
ianw@gelato.unsw.edu.au
http://www.gelato.unsw.edu.au
-------------- next part --------------
Index: MakeTAGS
===================================================================
RCS file: /cvs/glibc/libc/MakeTAGS,v
retrieving revision 1.49
diff -u -r1.49 MakeTAGS
--- MakeTAGS 22 Feb 2003 20:20:29 -0000 1.49
+++ MakeTAGS 16 Sep 2003 07:39:19 -0000
@@ -77,7 +77,8 @@
$(shell cat $(Dist)))))
tags_sources = $(all-sources) $(all-headers) $(all-dist)
else
-all-dist = $(distribute)
+#we are only interested in source files of some type or another
+all-dist = $(filter %.c %.s %.S %.h, $(distribute))
endif
# sources and headers must be simply expanded variables
More information about the Libc-alpha
mailing list