]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly commands.c.~13~
authorRoland McGrath <roland@redhat.com>
Tue, 22 Dec 1992 22:31:07 +0000 (22:31 +0000)
committerRoland McGrath <roland@redhat.com>
Tue, 22 Dec 1992 22:31:07 +0000 (22:31 +0000)
commands.c

index cd57e37fd2068670616a0fd251bcfa7cd639c7e3..42b9b9e399e221b81362436f8179a7c0a3712881 100644 (file)
@@ -130,6 +130,12 @@ set_file_variables (file)
   DEFINE_VARIABLE ("%D", 2, DIRONLY (percent));
   DEFINE_VARIABLE ("%F", 2, FILEONLY (percent));
 
+  /* Make sure that no dependencies are repeated.  This does not
+     really matter for the purpose of updating targets, but it
+     might make some names be listed twice for $^ and $?.  */
+
+  uniquize_deps (file->deps);
+
   /* Compute the values for $^ and $? and their F and D versions.  */
 
   {