summaryrefslogtreecommitdiff
path: root/Makefile.moddir_rules
diff options
context:
space:
mode:
authorGeorge Joseph <gjoseph@digium.com>2016-07-24 17:27:26 -0600
committerGeorge Joseph <gjoseph@digium.com>2016-07-25 14:31:48 -0500
commitb4c5dcad014909310dd7a5b6112ca3c9fbb8692c (patch)
tree4d74fa788a3a657e95c63c1c365c14780bf9b14a /Makefile.moddir_rules
parent616446fe244ee1c0867625cc3f9f9b91e0f792f6 (diff)
menuselect: Various menuselect enhancements
* Add 'external' as a support level. * Add ability for module directories to add entries to the menu by adding members to the <module_prefix>/<module_prefix>.xml file. * Expand the description field to 3 lines in the ncurses implementation. * Allow the description field to wrap in the newt implementation. * Add description field to the gtk implementation. Change-Id: I7f9600a1984a42ce0696db574c1051bc9ad7c808
Diffstat (limited to 'Makefile.moddir_rules')
-rw-r--r--Makefile.moddir_rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.moddir_rules b/Makefile.moddir_rules
index a92b0d825..9b5f3f13a 100644
--- a/Makefile.moddir_rules
+++ b/Makefile.moddir_rules
@@ -164,7 +164,7 @@ dist-clean::
$(AWK) -f $(ASTTOPDIR)/build_tools/get_moduleinfo $^ >> $@
echo "</member>" >> $@
-.moduleinfo:: $(addsuffix .moduleinfo,$(addprefix .,$(sort $(ALL_C_MODS) $(ALL_CC_MODS))))
+.moduleinfo:: $(addsuffix .moduleinfo,$(addprefix .,$(sort $(ALL_C_MODS) $(ALL_CC_MODS)))) $(wildcard $(call tolower,$(MENUSELECT_CATEGORY)).xml)
@echo "<category name=\"MENUSELECT_$(MENUSELECT_CATEGORY)\" displayname=\"$(MENUSELECT_DESCRIPTION)\" remove_on_change=\"$(SUBDIR)/modules.link\">" > $@
@cat $^ >> $@
@echo "</category>" >> $@