tweaking OAI-PMH example to install correctly both in tarball and Debian install
authorMarc Cromme <marc@indexdata.dk>
Fri, 1 Feb 2008 11:05:02 +0000 (11:05 +0000)
committerMarc Cromme <marc@indexdata.dk>
Fri, 1 Feb 2008 11:05:02 +0000 (11:05 +0000)
debian/control
debian/idzebra-2.0-examples.install [new file with mode: 0644]
examples/oai-pmh/Makefile.am

index 299888e..3e2de8f 100644 (file)
@@ -42,6 +42,18 @@ Description: IDZebra common files
  formats (eg. email, XML, MARC) and allows access to them through exact
  boolean search expressions and relevance-ranked free-text queries.
 
+Package: idzebra-2.0-examples
+Section: text
+Architecture: all
+Description: IDZebra example configurations
+ This package includes examples for indexing of various
+ data formats like OAI-PMH, Marc21, and MarcXML.
+ .
+ IDZebra is a high-performance, general-purpose structured text indexing
+ and retrieval engine. It reads structured records in a variety of input
+ formats (eg. email, XML, MARC) and allows access to them through exact
+ boolean search expressions and relevance-ranked free-text queries.
+
 Package: idzebra-2.0-utils
 Section: text
 Architecture: any
diff --git a/debian/idzebra-2.0-examples.install b/debian/idzebra-2.0-examples.install
new file mode 100644 (file)
index 0000000..88aee09
--- /dev/null
@@ -0,0 +1 @@
+usr/share/idzebra-2.0-examples
index 71ce852..84c2873 100644 (file)
@@ -1,18 +1,25 @@
-# $Id: Makefile.am,v 1.2 2008-02-01 10:00:24 marc Exp $
+# $Id: Makefile.am,v 1.3 2008-02-01 11:05:03 marc Exp $
 
-EXTRA_DIST = README \
-   conf/yazserver.xml \
+oaidatadir = $(datadir)/$(PACKAGE)$(PACKAGE_SUFFIX)-examples/oai-pmh
+oaiconfdatadir = $(datadir)/$(PACKAGE)$(PACKAGE_SUFFIX)-examples/oai-pmh/conf
+oaidatadatadir = $(datadir)/$(PACKAGE)$(PACKAGE_SUFFIX)-examples/oai-pmh/data
+
+oaidata_DATA = README 
+
+oaiconfdata_DATA = conf/yazserver.xml \
    conf/cql2pqf.txt \
    conf/explain.xml \
    conf/explain2cqlpqftxt.xsl \
    conf/oai2dc.xsl \
    conf/oai2index.xsl \
    conf/oai2zebra.xsl \
-   conf/zebra.cfg \
-   data/debug-record.xml \
+   conf/zebra.cfg 
+
+oaidatadata_DATA = data/debug-record.xml \
    data/debug-utf8-record.xml \
    data/oai-caltech.xml 
 
+EXTRA_DIST = $(oaidata_DATA) $(oaiconfdata_DATA) $(oaidatadata_DATA)
 
 conf/cql2pqf.txt: conf/explain2cqlpqftxt.xsl conf/explain.xml
        xsltproc conf/explain2cqlpqftxt.xsl conf/explain.xml > conf/cql2pqf.txt