Index: doc/user/09_appendix/src/gen_formats.sh =================================================================== --- doc/user/09_appendix/src/gen_formats.sh (revision 37039) +++ doc/user/09_appendix/src/gen_formats.sh (nonexistent) @@ -1,104 +0,0 @@ -#!/bin/sh - -PLUGINS=../../../../src_plugins - -echo ' - - - - pcb-rnd - list of file formats - - - - - -

pcb-rnd User Manual: Appendix

-

-

File format support

- - - -
plugin native state reads formats writes formats -' - -files_io=`ls $PLUGINS/io_*/*.pup | sort` -files_e=`ls $PLUGINS/export_*/*.pup | sort` -files_i=`ls $PLUGINS/import_*/*.pup | sort` - -for n in $files_io $files_i $files_e -do - bn=`basename $n` - bn=${bn%%.pup} - sed ' - /^[$]fmt[-]/ { s@^@'$bn' @; p } - /^[$]state/ { s@^@'$bn' @; p } - { d } - ' $n -done | awk ' - BEGIN { - plgs = 0 - } - { - if ($1 != last) { - PLG[plgs] = $1 - last = $1 - plgs++ - } - p=$1 - f=$2 - text=$0 - sub("^[^ \t]+[ \t]+[^ \t]+[ \t]+", "", text) - DATA[p, f] = DATA[p, f] SUBSEP text - } - - function col(mask ,n,v,i,A) { - print " " - v = split(DATA[mask], A, "[" SUBSEP "]") - if (v == 0) { - print "n/a" - return - } - i = 0; - for(n = 1; n <= v; n++) { - if (A[n] == "") - continue; - if (i) - print "
" - print " " A[n] - i++ - } - } - - function strip(s) - { - gsub("[" SUBSEP "]", " ", s) - sub("^[ \t]*", "", s) - sub("[ \t]*$", "", s) - return s - } - - function row(plg) { - print "
" plg - print "" strip(DATA[plg, "$fmt-native"]) - print "" strip(DATA[plg, "$state"]) - col(plg SUBSEP "$fmt-feature-r") - col(plg SUBSEP "$fmt-feature-w") - } - - END { - for(p=0; p < plgs; p++) - if (DATA[PLG[p], "$fmt-native"] ~ "yes") - row(PLG[p]) - - for(p=0; p < plgs; p++) - if (!(DATA[PLG[p], "$fmt-native"] ~ "yes")) - row(PLG[p]) - } -' - - -echo ' -
- - -' Property changes on: doc/user/09_appendix/src/gen_formats.sh ___________________________________________________________________ Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: doc/user/09_appendix/src/Makefile =================================================================== --- doc/user/09_appendix/src/Makefile (revision 37039) +++ doc/user/09_appendix/src/Makefile (revision 37040) @@ -20,8 +20,8 @@ ../bridges.svg: bridges.txt aagraph -Tsvg bridges.txt > ../bridges.svg -../formats.html: gen_formats.sh ../../../../src_plugins/io_*/*.pup ../../../../src_plugins/import_*/*.pup ../../../../src_plugins/export_*/*.pup - ./gen_formats.sh > ../formats.html +../formats.html: ../../../../src_plugins/io_*/*.pup ../../../../src_plugins/import_*/*.pup ../../../../src_plugins/export_*/*.pup + APP="pcb-rnd" PLUGINS="../../../../src_plugins" $(LIBRND_LIBDIR)/gen_formats.sh > ../formats.html ../dialogs.html: $(PCBRND) ./gen_dialogs.sh ./dialog_extra.awk LIBRND_LIBDIR="$(LIBRND_LIBDIR)" ./gen_dialogs.sh > ../dialogs.html