Remove function SearchScreenGridSlop() and use SearchObjectByLocation() directly
[geda-pcb/pcjc2.git] / lib / gen_geda_list.awk
blobfc73e5ada7505c560184db35afaf0efc821f006d
1 #!/usr/bin/awk -f
3 # Script to regenerate geda.list from geda.inc
5 # Usage:
7 # awk -f gen_geda_list.awk geda.inc > geda.list
10 BEGIN {
11 printf("#\n");
12 printf("# NOTE: Auto-generated. Do not change.\n");
13 printf("#");
16 /^\#\#/ {
17 printf("#\n");
18 next;
22 /^[ \t]*define/ {
23 pkg = $1;
24 ind = index(pkg, "PKG");
25 pkg = substr(pkg, ind+4);
26 ind = index(pkg, "'");
27 pkg = substr(pkg, 1, ind-1);
28 printf("geda_%s:%s:%s\n", pkg, pkg, pkg);