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

[Ulrich Drepper <drepper@cygnus.com>] Re: libc/1107: make TAGS fails in timezone files



 I tried to run a `make TAGS' on glibc, and ran into an error.  I
 reported it with `glibcbug', YESTERDAY, and got this patch from
 Ulrich Drepper to fix the bug.  Thought yous would like to put it
 into the Debian version's .diff.gz ...  :-)


--- Begin Message ---
"Karl M. Hegbloom" <psu25682@odin.cc.pdx.edu> writes:

> >Description:
> 	I cannot create all of the TAGS files.  Here's the error at
> 	the end where it stops:

The following patch should fix it:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: Makefile
===================================================================
RCS file: /glibc/cvsfiles/libc/timezone/Makefile,v
retrieving revision 1.15
diff -d -u -p -r1.15 Makefile
--- Makefile	1999/01/11 20:07:23	1.15
+++ Makefile	1999/05/05 18:30:41
@@ -90,6 +90,7 @@ $(tzfiles:%=$(objpfx)z.%): $(objpfx)z.%:
 # the files.
 # The extra kludge for the $(tzlinks) files is necessary since running zic
 # this file requires all other files to exist.  Blech!
+	$(make-target-directory)
 	(echo 'define $*-zones'						    ;\
 	 $(AWK) '$$1 == "Zone" { print $$2 } $$1 == "Link" { print $$3 }' $^ ;\
 	 echo 'endef'							    ;\
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks,

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


--- End Message ---

Reply to: