Index: developer/packaging/packages.sh =================================================================== --- developer/packaging/packages.sh (revision 37104) +++ developer/packaging/packages.sh (revision 37105) @@ -248,7 +248,7 @@ PUPEXTDEPS[pkg] = PUPEXTDEPS[pkg] " " tmp } - ($1 ~ "[.]tmpasm$") && ($3 == "/local/pcb/mod/CONFFILE") { + ($1 ~ "[.]tmpasm$") && ($3 == "/local/rnd/mod/CONFFILE") { fn=$4 sub("[{][ \t]*", "", fn) sub("[ \t]*[}]", "", fn) Index: developer/plugin/conf.html =================================================================== --- developer/plugin/conf.html (revision 37104) +++ developer/plugin/conf.html (revision 37105) @@ -26,8 +26,8 @@ The conf file must be registered in the tmpasm file. Add these lines in Plug.tmpasm to set the file name:
-put /local/pcb/mod/CONFFILE {pluginname.conf} -put /local/pcb/mod/CONF {$(PLUGDIR)/pluginname/pluginname_conf.h} +put /local/rnd/mod/CONFFILE {pluginname.conf} +put /local/rnd/mod/CONF {$(PLUGDIR)/pluginname/pluginname_conf.h}
-put /local/pcb/mod/MENUFILE {pluginname-menu.lht} -put /local/pcb/mod/MENUVAR {pluginname_menu} +put /local/rnd/mod/MENUFILE {pluginname-menu.lht} +put /local/rnd/mod/MENUVAR {pluginname_menu}
For the features that are most commonly needed, the system offers prewritten, turn key solutions. It is strongly recommended to use these -features only. These features are accessible through setting /local/pcb/mod/* +features only. These features are accessible through setting /local/rnd/mod/* tmpasm variables (typically with the put and append instructions). The rest of this document lists and explains these variables. @@ -22,47 +22,47 @@
variable | description | |
---|---|---|
/local/pcb/mod + | /local/rnd/mod | the name of the plugin |
/local/pcb/mod/OBJS + | /local/rnd/mod/OBJS | a whitespace separated list of local object files to compile, e.g. foo.o |
/local/pcb/mod/OBJS_C99 + | /local/rnd/mod/OBJS_C99 | same as OBJS, but for sources that can be compiled only with a C99 compiler; plugins must not use this variable unless the source depends on 3rd party library which comes with a header that absolutely can not compiled with C89 |
/local/pcb/mod/CFLAGS + | /local/rnd/mod/CFLAGS | |
/local/pcb/mod/LDFLAGS + | /local/rnd/mod/LDFLAGS | |
/local/pcb/mod/CONF + | /local/rnd/mod/CONF | optional: the name of the conf struct header - if the plugin doesn't have runtime configuration settings, remove this line |
/local/pcb/mod/CONFFILE + | /local/rnd/mod/CONFFILE | optional: conf file's internal version: the file name of the conf file (without path) that should be encoded in conf_internal.c |
/local/pcb/mod/CONFVAR + | /local/rnd/mod/CONFVAR | optional: conf file's internal version: the variable name to use in conf_internal.c |
/local/pcb/mod/YACC + | /local/rnd/mod/YACC | optional: if you have files for yacc-processing, list them without the .y suffix here (whitespace separated list) |
/local/pcb/mod/LEX + | /local/rnd/mod/LEX | optional: if you have files for lex-processing, list them without the .l suffix here (whitespace separated list) |
/local/pcb/mod/SPHASH + | /local/rnd/mod/SPHASH | optional: if the plugin uses an sphash (compile time perfect hash), the sphash source file name should be specified in this field |