diff options
Diffstat (limited to 'locale/Makefile')
-rw-r--r-- | locale/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/locale/Makefile b/locale/Makefile index 2f2d2ba5f1..d9ab1947e7 100644 --- a/locale/Makefile +++ b/locale/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1991,1992,1995-2002,2003 Free Software Foundation, Inc. +# Copyright (C) 1991,1992,1995-2003,2005 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -72,7 +72,8 @@ GPERFFLAGS = -acCgopt -k1,2,5,9,$$ -L ANSI-C include ../Rules programs/%-kw.h: programs/%-kw.gperf - $(GPERF) $(GPERFFLAGS) -N $(@F:-kw.h=_hash) $< > $@.new + cd programs \ + && $(GPERF) $(GPERFFLAGS) -N $(@F:-kw.h=_hash) $(<F) > $(@F).new mv -f $@.new $@ $(objpfx)localedef: $(localedef-modules:%=$(objpfx)%.o) |