(all-dist): Prepend the appropriate sysdep dir names.
authorroland <roland>
Tue, 27 Sep 1994 03:00:50 +0000 (03:00 +0000)
committerroland <roland>
Tue, 27 Sep 1994 03:00:50 +0000 (03:00 +0000)
MakeTAGS

index de2c862..acea142 100644 (file)
--- a/MakeTAGS
+++ b/MakeTAGS
@@ -62,8 +62,10 @@ subdirs := $(subdirs) \
                                    $(wildcard $(addsuffix /Subdirs,\
                                                           $(all-dirs)))\
                                    /dev/null))
-all-dist = $(filter %.c %.h %.S %.s,\
-                   $(shell cat /dev/null $(wildcard $(all-dirs:%=%/Dist))))
+all-dist = $(foreach Dist,$(wildcard $(all-dirs:%=%/Dist)),\
+                    $(addprefix $(Dist:%/Dist=%)/,\
+                                $(filter %.c %.h %.S %.s,\
+                                         $(shell cat $(Dist)))))
 tags_sources = $(all-sources) $(all-headers) $(all-dist)
 endif