3 # Script to regenerate geda.list from geda.inc
7 # awk -f gen_geda_list.awk geda.inc > geda.list
12 printf("# NOTE: Auto-generated. Do not change.\n");
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
);