(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
$(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>" >> $@