From: Sean Bright Date: Wed, 27 Jul 2011 19:17:46 +0000 (+0000) Subject: Explicitly sort the module list so that the menuselect lists are sorted. X-Git-Tag: 1.8.6.0-rc1~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=113b0378c08ba6c3e8d5e23001c91a4c0a292f46;p=thirdparty%2Fasterisk.git 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/1.8@329767 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile.moddir_rules b/Makefile.moddir_rules index b883548afa..fc44d4dad0 100644 --- a/Makefile.moddir_rules +++ b/Makefile.moddir_rules @@ -141,7 +141,7 @@ dist-clean:: $(AWK) -f $(ASTTOPDIR)/build_tools/get_moduleinfo $< >> $@ echo "" >> $@ -.moduleinfo:: $(addsuffix .moduleinfo,$(addprefix .,$(ALL_C_MODS) $(ALL_CC_MODS))) +.moduleinfo:: $(addsuffix .moduleinfo,$(addprefix .,$(sort $(ALL_C_MODS) $(ALL_CC_MODS)))) @echo "" > $@ @cat $^ >> $@ @echo "" >> $@