From a4242e25dcf614b1eeb827e96d6d3c9f503f519d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 25 Jun 1996 13:56:54 +0000 Subject: Tue Jun 25 09:55:47 1996 David Mosberger-Tang * catgets/gencat.c (write_out): Use %Zu to print variables of type size_t. * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and cast it to (unsigned long) to make it work both on 32 and 64 bit architectures. Sat Jun 22 13:05:25 1996 Andreas Schwab * locale/Makefile (distribute): Add `programs/' prefix to all files in that directory. * Makerules (distinfo-vars): Assign subdir directly so that `ifdef subdir' works. * MakeTAGS (sources, headers): Make them simply expanded variables so that all-dist is expanded before it is changed. --- MakeTAGS | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'MakeTAGS') diff --git a/MakeTAGS b/MakeTAGS index e346ac7a1a..f734cbc327 100644 --- a/MakeTAGS +++ b/MakeTAGS @@ -73,8 +73,9 @@ else all-dist = $(distribute) endif -sources += $(filter %.c %.s %.S,$(all-dist)) -headers += $(filter %.h,$(all-dist)) +# sources and headers must be simply expanded variables +sources := $(sources) $(filter %.c %.s %.S,$(all-dist)) +headers := $(headers) $(filter %.h,$(all-dist)) all-dist := $(filter-out %.h %.c %.s %.S,$(all-dist)) sources += $(foreach lib,$(extra-libs),$($(lib)-routines:=.c)) -- cgit v1.2.3-70-g09d2