chiark / gitweb /
sort regen
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 13 Nov 2019 15:05:22 +0000 (15:05 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 13 Nov 2019 15:05:22 +0000 (15:05 +0000)
subdirmk/regen.mk.in

index bc05e72..b8e031f 100644 (file)
@@ -35,7 +35,7 @@ main.mk $(MAKEFILES): .makefiles.stamp ;
                        subdirmk/regen.mk.in                    \
                        $(top_srcdir)/subdirmk/regen.mk.in      \
                        , $?),,                                 \
-               $(patsubst %.mk.in,%.mk,$(filter %.mk.in,$?)))
+               $(sort $(patsubst %.mk.in,%.mk,$(filter %.mk.in,$?))))
        touch $@
 
 realclean:: clean