Index: Rev.h =================================================================== --- Rev.h (revision 32186) +++ Rev.h (revision 32187) @@ -1 +1 @@ -static const int myrev = 32181; +static const int myrev = 32187; Index: Rev.tab =================================================================== --- Rev.tab (revision 32186) +++ Rev.tab (revision 32187) @@ -1,4 +1,4 @@ -32181 configure librnd: infra for menu patching +32187 configure librnd: infra for menu patching 32169 configure hid_lesstif is part of the hidlib 32120 configure removing the old drc in favor of drc_query 32113 configure removing custom per hid attribute editor in favor of generic central propedit Index: template/plugin_intmenu.tmpasm =================================================================== --- template/plugin_intmenu.tmpasm (nonexistent) +++ template/plugin_intmenu.tmpasm (revision 32187) @@ -0,0 +1,31 @@ +# Set up internal embedde dconfig +# Input: /local/pcb/mod/MENUFILE is the file name of the conf file (without path) +# /local/pcb/mod/MENUVAR is the variable name to use in menu_internal.c + +switch ?/local/pcb/mod/MENUFILE +case {...} +put /local/pcb/MMENU [@$(PLUGDIR)/@/local/pcb/mod@/@/local/pcb/mod/MENUFILE@@] +put /local/pcb/IMENU [@$(PLUGDIR)/@/local/pcb/mod@/menu_internal.c@] + +append /local/pcb/DEPDEPS [@ @/local/pcb/IMENU@ @] +append /local/pcb/DISTCLEANFILES [@ @/local/pcb/IMENU@ @] +append /local/pcb/RULES [@ +@/local/pcb/IMENU@: @/local/pcb/MMENU@ $(CQUOTE) + $(CQUOTE) -n @/local/pcb/mod/MENUVAR@ < @/local/pcb/MMENU@ > @/local/pcb/IMENU@ +@] + + +# plugin menu exists only as internal for now +#switch /local/pcb/mod/enabled +# case {1} +# append /local/pcb/rules/install_ [@ +# $(SCCBOX) $(HOW) "@/local/pcb/MMENU@" "$(CONFDIR)/@/local/pcb/mod/MENUFILE@"@] +# end +# default end; +#end + +end +default +end +end +