]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Explicitly sort the module list so that the menuselect lists are sorted.
authorSean Bright <sean@malleable.com>
Wed, 27 Jul 2011 19:17:46 +0000 (19:17 +0000)
committerSean Bright <sean@malleable.com>
Wed, 27 Jul 2011 19:17:46 +0000 (19:17 +0000)
(closes issue ASTERISK-18141)
Reported by: Richard Miller
Patches:
sort-order.diff uploaded by seanbright (License #5060)
Tested by: leifmadsen

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@329767 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile.moddir_rules

index b883548afab986591a273ca2c99f932d2a07f2fa..fc44d4dad0404fa7b87e1c549fae4207213189da 100644 (file)
@@ -141,7 +141,7 @@ dist-clean::
        $(AWK) -f $(ASTTOPDIR)/build_tools/get_moduleinfo $< >> $@
        echo "</member>" >> $@
 
-.moduleinfo:: $(addsuffix .moduleinfo,$(addprefix .,$(ALL_C_MODS) $(ALL_CC_MODS)))
+.moduleinfo:: $(addsuffix .moduleinfo,$(addprefix .,$(sort $(ALL_C_MODS) $(ALL_CC_MODS))))
        @echo "<category name=\"MENUSELECT_$(MENUSELECT_CATEGORY)\" displayname=\"$(MENUSELECT_DESCRIPTION)\" remove_on_change=\"$(SUBDIR)/modules.link\">" > $@
        @cat $^ >> $@
        @echo "</category>" >> $@