[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: gsch2pcb.c
User: danmc
Date: 07/02/13 20:31:45
Modified: . gsch2pcb.c
Log:
Following the principle of least suprise use "--skip-m4" for the command
line and "skip-m4" for the project file that can be included to skip
m4. This way users don't have to do anything to keep the old behaviour.
This replaces the rather short lived (< 1 week) --use-m4.
Revision Changes Path
1.15 +6 -6 eda/geda/gaf/utils/src/gsch2pcb.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: gsch2pcb.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/utils/src/gsch2pcb.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- gsch2pcb.c 10 Feb 2007 14:51:45 -0000 1.14
+++ gsch2pcb.c 14 Feb 2007 01:31:44 -0000 1.15
@@ -1,4 +1,4 @@
-/* $Id: gsch2pcb.c,v 1.14 2007/02/10 14:51:45 ahvezda Exp $ */
+/* $Id: gsch2pcb.c,v 1.15 2007/02/14 01:31:44 danmc Exp $ */
/* gsch2pcb
|
@@ -90,7 +90,7 @@
*m4_files,
*m4_override_file;
-static gboolean use_m4 = FALSE;
+static gboolean use_m4 = TRUE;
static gchar *empty_footprint_name;
@@ -1195,9 +1195,9 @@
force_element_files = TRUE;
return 0;
}
- if (!strcmp(config, "use-m4") || !strcmp(config, "f"))
+ if (!strcmp(config, "skip-m4") || !strcmp(config, "s"))
{
- use_m4 = TRUE;
+ use_m4 = FALSE;
return 0;
}
if (!strcmp(config, "elements-dir") || !strcmp(config, "d"))
@@ -1323,8 +1323,8 @@
" so you really shouldn't need this option.\n"
" -q, --quiet Don't tell the user what to do next after running gsch2pcb.\n"
"\n"
-" -m, --use-m4 Use m4 when looking for footprints. The default is to not\n"
-" run m4 at all.\n"
+" -s, --skip-m4 Skip m4 when looking for footprints. The default is to use\n"
+" m4 (which is what previous versions did).\n"
" --m4-file F.inc Use m4 file F.inc in addition to the default m4\n"
" files ./pcb.inc and ~/.pcb/pcb.inc.\n"
" --m4-pcbdir D Use D as the PCB m4 files install directory\n"
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs