Index: 09_appendix/src/Makefile =================================================================== --- 09_appendix/src/Makefile (revision 37038) +++ 09_appendix/src/Makefile (revision 37039) @@ -12,7 +12,7 @@ LIBRND_LIBDIR=$(LIBRND_LIBDIR) ./action_compiler.sh ../action_src/*.html LIBRND librnd_acts/*.html > ../action_details.html ../action_reference.html : ./dump_actions_to_html.sh $(PCBRND) ../action_details.html librnd_acts - ./dump_actions_to_html.sh > ../action_reference.html + LIBRND_LIBDIR=$(LIBRND_LIBDIR) ./dump_actions_to_html.sh > ../action_reference.html librnd_acts: FORCE svn checkout svn://svn.repo.hu/librnd/trunk/doc/action librnd_acts Index: 09_appendix/src/dump_actions_to_html.sh =================================================================== --- 09_appendix/src/dump_actions_to_html.sh (revision 37038) +++ 09_appendix/src/dump_actions_to_html.sh (revision 37039) @@ -5,6 +5,8 @@ asrc="../action_src" lsrc="librnd_acts" +. $LIBRND_LIBDIR/dump_actions_to_html.sh + cd ../../../../src pcb_rnd_ver=`./pcb-rnd --version` pcb_rnd_rev=`svn info ^/ | awk '/Revision:/ { @@ -19,103 +21,9 @@ '` cd ../doc/user/09_appendix/src -echo " - -
--
-
Action | Description | Syntax | Plugin"
+print_hdr "pcb-rnd"
+
(
cd ../../../../src
./pcb-rnd --dump-actions 2>/dev/null
-) | awk '
-
-function flush_sd()
-{
- if ( a != "" || s != "" || d != "" ) {
- sub("^ ", "", a) - sub("^ ", "", d) - sub("^ ", "", s) - sub("^ ", "", c) - print " | ||
---|---|---|---|---|---|
" d " | " "" s " | " "" c " | " - } - - a="" - s="" - d="" - c="" -} - - -/^A/ { - flush_sd() - sub("^A", "", $0) - a = a "" act " | " post - else if ((getline < lfn) == 1) - print pre "" act " (RND) | " post - else - print pre "" act " | " post - close(fn) - close(lfn) - next - } - - { print $0 } - - END { - print "
RND: this action comes from librnd and is common to all ringdove applications." - print "" - print "" - } -' +) | gen