+For zebra.cfg, if no profilePath is specified, directory
+ (prefix)/share/idzebra/tab
+is used.
+
Zebra Examples in examples . Zebra tests in test.
Bug fix: sort index was not properly modified on
<chapter id="quick-start">
- <!-- $Id: quickstart.xml,v 1.6 2002-10-30 13:59:42 adam Exp $ -->
+ <!-- $Id: quickstart.xml,v 1.7 2002-10-30 14:35:09 adam Exp $ -->
<title>Quick Start </title>
<!--
<screen>
# Where the schema files, attribute files, etc are located.
- profilePath: .:../../tab
+ profilePath: ../../tab
# Files that describe the attribute sets supported.
attset: bib1.att
--- /dev/null
+# Simple Zebra configuration file
+# $Id: zebra.cfg,v 1.1 2002-10-30 14:35:09 adam Exp $
+#
+# Where the schema files, attribute files, etc are located.
+profilePath: ../../tab
+
+# Files that describe the attribute sets supported.
+attset: bib1.att
+attset: gils.att
+attset: explain.att
+
+recordtype: grs.sgml
+isam: c
-## $Id: Makefile.am,v 1.15 2002-10-22 12:51:08 adam Exp $
+## $Id: Makefile.am,v 1.16 2002-10-30 14:35:09 adam Exp $
noinst_PROGRAMS = apitest kdump
apitest_SOURCES = apitest.c
kdump_SOURCES=kdump.c kcompare.c
-AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC) $(TCL_INCLUDE)
+AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC) $(TCL_INCLUDE) -DDEFAULT_PROFILE_PATH=\"$(pkgdatadir)/tab\"
LDADD = libzebra.a $(YAZLIB) $(TCL_LIB)
-/* $Id: zebraapi.c,v 1.75 2002-10-23 14:28:20 adam Exp $
+/* $Id: zebraapi.c,v 1.76 2002-10-30 14:35:09 adam Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
Index Data Aps
}
if (useshadow)
bf_cache (reg->bfs, res_get (res, "shadow"));
- data1_set_tabpath (reg->dh, res_get(res, "profilePath"));
+ data1_set_tabpath (reg->dh, res_get_def(res, "profilePath",
+ DEFAULT_PROFILE_PATH));
data1_set_tabroot (reg->dh, reg_path);
reg->recTypes = recTypes_init (reg->dh);
recTypes_default_handlers (reg->recTypes);
-## $Id: Makefile.am,v 1.5 2002-08-17 08:00:28 adam Exp $
+## $Id: Makefile.am,v 1.6 2002-10-30 14:35:09 adam Exp $
noinst_LIBRARIES = libutil.a
EXTRA_DIST = zebrasrv.rh
-INCLUDES = -I$(srcdir)/../include @YAZINC@
+AM_CPPFLAGS = -I$(srcdir)/../include @YAZINC@ -DDEFAULT_PROFILE_PATH=\"$(pkgdatadir)/tab\"
LDADD = libutil.a $(YAZLIB) $(TCL_LIB)
libutil_a_SOURCES = res.c charmap.c zebramap.c passwddb.c zebra-lock.c dirent.c
-/* $Id: zebramap.c,v 1.27 2002-08-02 19:26:57 adam Exp $
+/* $Id: zebramap.c,v 1.28 2002-10-30 14:35:09 adam Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
Index Data Aps
zms->nmem = nmem_create ();
zms->tabpath = nmem_strdup (zms->nmem,
- res_get_def (res, "profilePath", "."));
+ res_get_def (res, "profilePath",
+ DEFAULT_PROFILE_PATH));
zms->tabroot = 0;
if (base)
zms->tabroot = nmem_strdup (zms->nmem, base);