https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r329767 | seanbright | 2011-07-27 15:17:46 -0400 (Wed, 27 Jul 2011) | 8 lines
Explicitly sort the module list so that the menuselect lists are sorted.
(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/10@329771
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
$(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>" >> $@