(all-dist): Filter output of cat, not args to it.
authorroland <roland>
Tue, 6 Sep 1994 03:36:08 +0000 (03:36 +0000)
committerroland <roland>
Tue, 6 Sep 1994 03:36:08 +0000 (03:36 +0000)
MakeTAGS

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