incubator-triplesoup-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r528519 [8/12] - in /incubator/triplesoup/donations/TRIPLES-2-libb: ./ docs/ docs/html/ docs/tmpl/ docs/xml/ redland-integration/ redland/ src/ test/ tests/ utils/
Date Fri, 13 Apr 2007 15:19:52 GMT
Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/triple.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/triple.xml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/triple.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/triple.xml Fri Apr 13 08:19:45
2007
@@ -0,0 +1,307 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
+               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!ENTITY BVersion SYSTEM "xml/version.xml">
+]>
+<refentry id="B-Triples">
+<refmeta>
+<refentrytitle id="top_of_page">Triples</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>B Library</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+<refname>Triples</refname>
+<refpurpose>How you can create, destroy complete or incomplete triples</refpurpose>
+<!--[<xref linkend="desc" endterm="desc.title"/>]-->
+</refnamediv>
+
+<refsynopsisdiv id="synopsis">
+<title id="synopsis.title">Synopsis</title>
+
+<synopsis>
+
+
+
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-triple-new">b_triple_new</link>
                   (<link linkend="b-triple-t">b_triple_t</link> **triple,
+                                             unsigned <link linkend="char">char</link>
*subject_uri,
+                                             <link linkend="b-uint64">b_uint64</link>
subject_uri_len,
+                                             unsigned <link linkend="char">char</link>
*subject_bnode,
+                                             <link linkend="b-uint64">b_uint64</link>
subject_bnode_len,
+                                             unsigned <link linkend="char">char</link>
*property,
+                                             <link linkend="b-uint64">b_uint64</link>
property_len,
+                                             unsigned <link linkend="char">char</link>
*object_uri,
+                                             <link linkend="b-uint64">b_uint64</link>
object_uri_len,
+                                             unsigned <link linkend="char">char</link>
*object_bnode,
+                                             <link linkend="b-uint64">b_uint64</link>
object_bnode_len,
+                                             unsigned <link linkend="char">char</link>
*object_literal,
+                                             <link linkend="b-uint64">b_uint64</link>
object_literal_len,
+                                             unsigned <link linkend="char">char</link>
*context,
+                                             <link linkend="b-uint64">b_uint64</link>
context_len,
+                                             unsigned <link linkend="char">char</link>
*datatype,
+                                             <link linkend="b-uint64">b_uint64</link>
datatype_len,
+                                             unsigned <link linkend="char">char</link>
*lang,
+                                             <link linkend="b-uint64">b_uint64</link>
lang_len);
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-triple-new-incomplete">b_triple_new_incomplete</link>
        (<link linkend="b-triple-t">b_triple_t</link> **triple,
+                                             unsigned <link linkend="char">char</link>
*subject_uri,
+                                             <link linkend="b-uint64">b_uint64</link>
subject_uri_len,
+                                             unsigned <link linkend="char">char</link>
*subject_bnode,
+                                             <link linkend="b-uint64">b_uint64</link>
subject_bnode_len,
+                                             unsigned <link linkend="char">char</link>
*property,
+                                             <link linkend="b-uint64">b_uint64</link>
property_len,
+                                             unsigned <link linkend="char">char</link>
*object_uri,
+                                             <link linkend="b-uint64">b_uint64</link>
object_uri_len,
+                                             unsigned <link linkend="char">char</link>
*object_bnode,
+                                             <link linkend="b-uint64">b_uint64</link>
object_bnode_len,
+                                             unsigned <link linkend="char">char</link>
*object_literal,
+                                             <link linkend="b-uint64">b_uint64</link>
object_literal_len,
+                                             unsigned <link linkend="char">char</link>
*context,
+                                             <link linkend="b-uint64">b_uint64</link>
context_len,
+                                             unsigned <link linkend="char">char</link>
*datatype,
+                                             <link linkend="b-uint64">b_uint64</link>
datatype_len,
+                                             unsigned <link linkend="char">char</link>
*lang,
+                                             <link linkend="b-uint64">b_uint64</link>
lang_len);
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-triple-destroy">b_triple_destroy</link>
               (<link linkend="b-triple-t">b_triple_t</link> *triple);
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-triple-print">b_triple_print</link>
                 (<link linkend="FILE:CAPS">FILE</link> *file,
+                                             <link linkend="b-triple-t">b_triple_t</link>
*triple);
+</synopsis>
+</refsynopsisdiv>
+
+
+
+
+
+
+
+
+
+<refsect1 id="desc">
+<title id="desc.title">Description</title>
+<para>
+How you can create, destroy complete or incomplete triples. For any information read the
Introduction.
+</para>
+</refsect1>
+
+<refsect1 id="details">
+<title id="details.title">Details</title>
+<refsect2>
+<title><anchor id="b-triple-new" role="function"/>b_triple_new ()</title>
+<indexterm><primary>b_triple_new</primary></indexterm><programlisting><link
linkend="b-error-t">b_error_t</link>   b_triple_new                    (<link
linkend="b-triple-t">b_triple_t</link> **triple,
+                                             unsigned <link linkend="char">char</link>
*subject_uri,
+                                             <link linkend="b-uint64">b_uint64</link>
subject_uri_len,
+                                             unsigned <link linkend="char">char</link>
*subject_bnode,
+                                             <link linkend="b-uint64">b_uint64</link>
subject_bnode_len,
+                                             unsigned <link linkend="char">char</link>
*property,
+                                             <link linkend="b-uint64">b_uint64</link>
property_len,
+                                             unsigned <link linkend="char">char</link>
*object_uri,
+                                             <link linkend="b-uint64">b_uint64</link>
object_uri_len,
+                                             unsigned <link linkend="char">char</link>
*object_bnode,
+                                             <link linkend="b-uint64">b_uint64</link>
object_bnode_len,
+                                             unsigned <link linkend="char">char</link>
*object_literal,
+                                             <link linkend="b-uint64">b_uint64</link>
object_literal_len,
+                                             unsigned <link linkend="char">char</link>
*context,
+                                             <link linkend="b-uint64">b_uint64</link>
context_len,
+                                             unsigned <link linkend="char">char</link>
*datatype,
+                                             <link linkend="b-uint64">b_uint64</link>
datatype_len,
+                                             unsigned <link linkend="char">char</link>
*lang,
+                                             <link linkend="b-uint64">b_uint64</link>
lang_len);</programlisting>
+<para>
+Creates a new triples. This triple must be destroy with <link linkend="b-triple-destroy"><function>b_triple_destroy()</function></link>.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>triple</parameter>&nbsp;:</term>
+<listitem><simpara> The return pointer for the new b_triple_t data struct.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>subject_uri</parameter>&nbsp;:</term>
+<listitem><simpara> The subject URI. It can be NULL if the subject_object is
not 
+NULL.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>subject_uri_len</parameter>&nbsp;:</term>
+<listitem><simpara> The length of the subject_uri. Can be 0.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>subject_bnode</parameter>&nbsp;:</term>
+<listitem><simpara> The subject BNODE.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>subject_bnode_len</parameter>&nbsp;:</term>
+<listitem><simpara> The length of the subject_bnode. Can be 0.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>property</parameter>&nbsp;:</term>
+<listitem><simpara> The property of this triple.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>property_len</parameter>&nbsp;:</term>
+<listitem><simpara> The length of the property. Can be 0.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>object_uri</parameter>&nbsp;:</term>
+<listitem><simpara> The object as URI. It can be NULL if the triple has not a
URI
+object.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>object_uri_len</parameter>&nbsp;:</term>
+<listitem><simpara> The length of the URI object. Can be 0.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>object_bnode</parameter>&nbsp;:</term>
+<listitem><simpara> The object as BNODE. It can be NULL if the triple has not
a
+BNODE object.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>object_bnode_len</parameter>&nbsp;:</term>
+<listitem><simpara> The length of the BNODE object. Can be 0.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>object_literal</parameter>&nbsp;:</term>
+<listitem><simpara> The object as Literal. It can be NULL if the triple has not
+a Literal object.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>object_literal_len</parameter>&nbsp;:</term>
+<listitem><simpara> The length of the Literal Object. Can be 0.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>context</parameter>&nbsp;:</term>
+<listitem><simpara> The context. Can be NULL.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>context_len</parameter>&nbsp;:</term>
+<listitem><simpara> The Context Length.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>datatype</parameter>&nbsp;:</term>
+<listitem><simpara> The datatype for this Object Literal. It can be NULL.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>datatype_len</parameter>&nbsp;:</term>
+<listitem><simpara> The length of the datatype.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>lang</parameter>&nbsp;:</term>
+<listitem><simpara> The lang of this Object Literal.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>lang_len</parameter>&nbsp;:</term>
+<listitem><simpara> The length of the lang.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>
The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-triple-new-incomplete" role="function"/>b_triple_new_incomplete
()</title>
+<indexterm><primary>b_triple_new_incomplete</primary></indexterm><programlisting><link
linkend="b-error-t">b_error_t</link>   b_triple_new_incomplete         (<link
linkend="b-triple-t">b_triple_t</link> **triple,
+                                             unsigned <link linkend="char">char</link>
*subject_uri,
+                                             <link linkend="b-uint64">b_uint64</link>
subject_uri_len,
+                                             unsigned <link linkend="char">char</link>
*subject_bnode,
+                                             <link linkend="b-uint64">b_uint64</link>
subject_bnode_len,
+                                             unsigned <link linkend="char">char</link>
*property,
+                                             <link linkend="b-uint64">b_uint64</link>
property_len,
+                                             unsigned <link linkend="char">char</link>
*object_uri,
+                                             <link linkend="b-uint64">b_uint64</link>
object_uri_len,
+                                             unsigned <link linkend="char">char</link>
*object_bnode,
+                                             <link linkend="b-uint64">b_uint64</link>
object_bnode_len,
+                                             unsigned <link linkend="char">char</link>
*object_literal,
+                                             <link linkend="b-uint64">b_uint64</link>
object_literal_len,
+                                             unsigned <link linkend="char">char</link>
*context,
+                                             <link linkend="b-uint64">b_uint64</link>
context_len,
+                                             unsigned <link linkend="char">char</link>
*datatype,
+                                             <link linkend="b-uint64">b_uint64</link>
datatype_len,
+                                             unsigned <link linkend="char">char</link>
*lang,
+                                             <link linkend="b-uint64">b_uint64</link>
lang_len);</programlisting>
+<para>
+Creates a new triples. It will not checked so you can create a incomplete
+triple for the iterator. This triple must be destroy with
+<link linkend="b-triple-destroy"><function>b_triple_destroy()</function></link>.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>triple</parameter>&nbsp;:</term>
+<listitem><simpara> The return pointer for the new b_triple_t data struct.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>subject_uri</parameter>&nbsp;:</term>
+<listitem><simpara> The subject URI. It can be NULL if the subject_object is
not 
+NULL.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>subject_uri_len</parameter>&nbsp;:</term>
+<listitem><simpara> The length of the subject_uri. Can be 0.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>subject_bnode</parameter>&nbsp;:</term>
+<listitem><simpara> The subject BNODE.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>subject_bnode_len</parameter>&nbsp;:</term>
+<listitem><simpara> The length of the subject_bnode. Can be 0.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>property</parameter>&nbsp;:</term>
+<listitem><simpara> The property of this triple.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>property_len</parameter>&nbsp;:</term>
+<listitem><simpara> The length of the property. Can be 0.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>object_uri</parameter>&nbsp;:</term>
+<listitem><simpara> The object as URI. It can be NULL if the triple has not a
URI
+object.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>object_uri_len</parameter>&nbsp;:</term>
+<listitem><simpara> The length of the URI object. Can be 0.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>object_bnode</parameter>&nbsp;:</term>
+<listitem><simpara> The object as BNODE. It can be NULL if the triple has not
a
+BNODE object.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>object_bnode_len</parameter>&nbsp;:</term>
+<listitem><simpara> The length of the BNODE object. Can be 0.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>object_literal</parameter>&nbsp;:</term>
+<listitem><simpara> The object as Literal. It can be NULL if the triple has not
+a Literal object.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>object_literal_len</parameter>&nbsp;:</term>
+<listitem><simpara> The length of the Literal Object. Can be 0.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>context</parameter>&nbsp;:</term>
+<listitem><simpara> The context. Can be NULL.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>context_len</parameter>&nbsp;:</term>
+<listitem><simpara> The Context Length.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>datatype</parameter>&nbsp;:</term>
+<listitem><simpara> The datatype for this Object Literal. It can be NULL.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>datatype_len</parameter>&nbsp;:</term>
+<listitem><simpara> The length of the datatype.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>lang</parameter>&nbsp;:</term>
+<listitem><simpara> The lang of this Object Literal.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>lang_len</parameter>&nbsp;:</term>
+<listitem><simpara> The length of the lang.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>
The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-triple-destroy" role="function"/>b_triple_destroy ()</title>
+<indexterm><primary>b_triple_destroy</primary></indexterm><programlisting><link
linkend="b-error-t">b_error_t</link>   b_triple_destroy                (<link
linkend="b-triple-t">b_triple_t</link> *triple);</programlisting>
+<para>
+Destroies the triple data struct.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>triple</parameter>&nbsp;:</term>
+<listitem><simpara> The Pointer to the b_triple_t data struct.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>
The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-triple-print" role="function"/>b_triple_print ()</title>
+<indexterm><primary>b_triple_print</primary></indexterm><programlisting><link
linkend="b-error-t">b_error_t</link>   b_triple_print                  (<link
linkend="FILE:CAPS">FILE</link> *file,
+                                             <link linkend="b-triple-t">b_triple_t</link>
*triple);</programlisting>
+<para>
+Prints the b_triple_t in n3 syntax in a FILE *.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>file</parameter>&nbsp;:</term>
+<listitem><simpara> The FILE.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>triple</parameter>&nbsp;:</term>
+<listitem><simpara> The b_triple_t pointer.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>
The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+
+
+
+</refentry>

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/version.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/version.xml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/version.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/version.xml Fri Apr 13 08:19:45
2007
@@ -0,0 +1 @@
+0.1

Added: incubator/triplesoup/donations/TRIPLES-2-libb/gtk-doc.make
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/gtk-doc.make?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/gtk-doc.make (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/gtk-doc.make Fri Apr 13 08:19:45 2007
@@ -0,0 +1,153 @@
+# -*- mode: makefile -*-
+
+####################################
+# Everything below here is generic #
+####################################
+
+if GTK_DOC_USE_LIBTOOL
+GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
+GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS)
+else
+GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
+GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS)
+endif
+
+# We set GPATH here; this gives us semantics for GNU make
+# which are more like other make's VPATH, when it comes to
+# whether a source that is a target of one rule is then
+# searched for in VPATH/GPATH.
+#
+GPATH = $(srcdir)
+
+TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)
+
+EXTRA_DIST = 				\
+	$(content_files)		\
+	$(HTML_IMAGES)			\
+	$(DOC_MAIN_SGML_FILE)		\
+	$(DOC_MODULE)-sections.txt	\
+	$(DOC_MODULE)-overrides.txt
+
+DOC_STAMPS=scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \
+	   $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp
+
+SCANOBJ_FILES = 		 \
+	$(DOC_MODULE).args 	 \
+	$(DOC_MODULE).hierarchy  \
+	$(DOC_MODULE).interfaces \
+	$(DOC_MODULE).prerequisites \
+	$(DOC_MODULE).signals
+
+CLEANFILES = $(SCANOBJ_FILES) $(DOC_MODULE)-unused.txt $(DOC_STAMPS)
+
+if ENABLE_GTK_DOC
+all-local: html-build.stamp
+
+#### scan ####
+
+scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
+	@echo 'gtk-doc: Scanning header files'
+	@-chmod -R u+w $(srcdir)
+	if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \
+	    CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)"
gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
+	else \
+	    cd $(srcdir) ; \
+	    for i in $(SCANOBJ_FILES) ; do \
+               test -f $$i || touch $$i ; \
+	    done \
+	fi
+	cd $(srcdir) && \
+	  gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)"
$(SCAN_OPTIONS) $(EXTRA_HFILES)
+	touch scan-build.stamp
+
+$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES): scan-build.stamp
+	@true
+
+#### templates ####
+
+tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
+	@echo 'gtk-doc: Rebuilding template files'
+	@-chmod -R u+w $(srcdir)
+	cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)
+	touch tmpl-build.stamp
+
+tmpl.stamp: tmpl-build.stamp
+	@true
+
+#### xml ####
+
+sgml-build.stamp: tmpl.stamp $(CFILE_GLOB) $(srcdir)/tmpl/*.sgml $(expand_content_files)
+	@echo 'gtk-doc: Building XML'
+	@-chmod -R u+w $(srcdir)
+	cd $(srcdir) && \
+	gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)"
--main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS)
+	touch sgml-build.stamp
+
+sgml.stamp: sgml-build.stamp
+	@true
+
+#### html ####
+
+html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
+	@echo 'gtk-doc: Building HTML'
+	@-chmod -R u+w $(srcdir)
+	rm -rf $(srcdir)/html 
+	mkdir $(srcdir)/html
+	cd $(srcdir)/html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
+	test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html )
+	@echo 'gtk-doc: Fixing cross-references' 
+	cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
+	touch html-build.stamp
+else
+all-local:
+endif
+
+##############
+
+clean-local:
+	rm -f *~ *.bak
+	rm -rf .libs
+
+maintainer-clean-local: clean
+	cd $(srcdir) && rm -rf xml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
+
+install-data-local:
+	installfiles=`echo $(srcdir)/html/*`; \
+	if test "$$installfiles" = '$(srcdir)/html/*'; \
+	then echo '-- Nothing to install' ; \
+	else \
+	  $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR); \
+	  for i in $$installfiles; do \
+	    echo '-- Installing '$$i ; \
+	    $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
+	  done; \
+	  echo '-- Installing $(srcdir)/html/index.sgml' ; \
+	  $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \
+	fi
+
+uninstall-local:
+	rm -f $(DESTDIR)$(TARGET_DIR)/*
+
+#
+# Require gtk-doc when making dist
+#
+if ENABLE_GTK_DOC
+dist-check-gtkdoc:
+else
+dist-check-gtkdoc:
+	@echo "*** gtk-doc must be installed and enabled in order to make dist"
+	@false
+endif
+
+dist-hook: dist-check-gtkdoc dist-hook-local
+	mkdir $(distdir)/tmpl
+	mkdir $(distdir)/xml
+	mkdir $(distdir)/html
+	-cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl
+	-cp $(srcdir)/xml/*.xml $(distdir)/xml
+	-cp $(srcdir)/html/* $(distdir)/html
+	if test -f $(srcdir)/$(DOC_MODULE).types; then \
+	  cp $(srcdir)/$(DOC_MODULE).types $(distdir)/$(DOC_MODULE).types; \
+	fi
+
+.PHONY : dist-hook-local

Added: incubator/triplesoup/donations/TRIPLES-2-libb/install-sh
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/install-sh?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/install-sh (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/install-sh Fri Apr 13 08:19:45 2007
@@ -0,0 +1,269 @@
+#!/bin/sh
+#
+# install - install a program, script, or datafile
+#
+# This originates from X11R5 (mit/util/scripts/install.sh), which was
+# later released in X11R6 (xc/config/util/install.sh) with the
+# following copyright and license.
+#
+# Copyright (C) 1994 X Consortium
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to
+# deal in the Software without restriction, including without limitation the
+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+# sell copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
+# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name of the X Consortium shall not
+# be used in advertising or otherwise to promote the sale, use or other deal-
+# ings in this Software without prior written authorization from the X Consor-
+# tium.
+#
+#
+# FSF changes to this file are in the public domain.
+#
+# Calling this script install-sh is preferred over install.sh, to prevent
+# `make' implicit rules from creating a file called install from it
+# when there is no Makefile.
+#
+# This script is compatible with the BSD install script, but was written
+# from scratch.  It can only install one file at a time, a restriction
+# shared with many OS's install programs.
+
+
+# set DOITPROG to echo to test this script
+
+# Don't use :- since 4.3BSD and earlier shells don't like it.
+doit="${DOITPROG-}"
+
+
+# put in absolute paths if you don't have them in your path; or use env. vars.
+
+mvprog="${MVPROG-mv}"
+cpprog="${CPPROG-cp}"
+chmodprog="${CHMODPROG-chmod}"
+chownprog="${CHOWNPROG-chown}"
+chgrpprog="${CHGRPPROG-chgrp}"
+stripprog="${STRIPPROG-strip}"
+rmprog="${RMPROG-rm}"
+mkdirprog="${MKDIRPROG-mkdir}"
+
+transformbasename=""
+transform_arg=""
+instcmd="$mvprog"
+chmodcmd="$chmodprog 0755"
+chowncmd=""
+chgrpcmd=""
+stripcmd=""
+rmcmd="$rmprog -f"
+mvcmd="$mvprog"
+src=""
+dst=""
+dir_arg=""
+
+while [ x"$1" != x ]; do
+    case $1 in
+	-c) instcmd="$cpprog"
+	    shift
+	    continue;;
+
+	-d) dir_arg=true
+	    shift
+	    continue;;
+
+	-m) chmodcmd="$chmodprog $2"
+	    shift
+	    shift
+	    continue;;
+
+	-o) chowncmd="$chownprog $2"
+	    shift
+	    shift
+	    continue;;
+
+	-g) chgrpcmd="$chgrpprog $2"
+	    shift
+	    shift
+	    continue;;
+
+	-s) stripcmd="$stripprog"
+	    shift
+	    continue;;
+
+	-t=*) transformarg=`echo $1 | sed 's/-t=//'`
+	    shift
+	    continue;;
+
+	-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
+	    shift
+	    continue;;
+
+	*)  if [ x"$src" = x ]
+	    then
+		src=$1
+	    else
+		# this colon is to work around a 386BSD /bin/sh bug
+		:
+		dst=$1
+	    fi
+	    shift
+	    continue;;
+    esac
+done
+
+if [ x"$src" = x ]
+then
+	echo "install:	no input file specified"
+	exit 1
+else
+	true
+fi
+
+if [ x"$dir_arg" != x ]; then
+	dst=$src
+	src=""
+	
+	if [ -d $dst ]; then
+		instcmd=:
+		chmodcmd=""
+	else
+		instcmd=mkdir
+	fi
+else
+
+# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
+# might cause directories to be created, which would be especially bad 
+# if $src (and thus $dsttmp) contains '*'.
+
+	if [ -f $src -o -d $src ]
+	then
+		true
+	else
+		echo "install:  $src does not exist"
+		exit 1
+	fi
+	
+	if [ x"$dst" = x ]
+	then
+		echo "install:	no destination specified"
+		exit 1
+	else
+		true
+	fi
+
+# If destination is a directory, append the input filename; if your system
+# does not like double slashes in filenames, you may need to add some logic
+
+	if [ -d $dst ]
+	then
+		dst="$dst"/`basename $src`
+	else
+		true
+	fi
+fi
+
+## this sed command emulates the dirname command
+dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
+
+# Make sure that the destination directory exists.
+#  this part is taken from Noah Friedman's mkinstalldirs script
+
+# Skip lots of stat calls in the usual case.
+if [ ! -d "$dstdir" ]; then
+defaultIFS=' 	
+'
+IFS="${IFS-${defaultIFS}}"
+
+oIFS="${IFS}"
+# Some sh's can't handle IFS=/ for some reason.
+IFS='%'
+set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
+IFS="${oIFS}"
+
+pathcomp=''
+
+while [ $# -ne 0 ] ; do
+	pathcomp="${pathcomp}${1}"
+	shift
+
+	if [ ! -d "${pathcomp}" ] ;
+        then
+		$mkdirprog "${pathcomp}"
+	else
+		true
+	fi
+
+	pathcomp="${pathcomp}/"
+done
+fi
+
+if [ x"$dir_arg" != x ]
+then
+	$doit $instcmd $dst &&
+
+	if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
+	if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
+	if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
+	if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
+else
+
+# If we're going to rename the final executable, determine the name now.
+
+	if [ x"$transformarg" = x ] 
+	then
+		dstfile=`basename $dst`
+	else
+		dstfile=`basename $dst $transformbasename | 
+			sed $transformarg`$transformbasename
+	fi
+
+# don't allow the sed command to completely eliminate the filename
+
+	if [ x"$dstfile" = x ] 
+	then
+		dstfile=`basename $dst`
+	else
+		true
+	fi
+
+# Make a temp file name in the proper directory.
+
+	dsttmp=$dstdir/#inst.$$#
+
+# Move or copy the file name to the temp name
+
+	$doit $instcmd $src $dsttmp &&
+
+	trap "rm -f ${dsttmp}" 0 &&
+
+# and set any options; do chmod last to preserve setuid bits
+
+# If any of these fail, we abort the whole thing.  If we want to
+# ignore errors from any of these, just make sure not to ignore
+# errors from the above "$doit $instcmd $src $dsttmp" command.
+
+	if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
+	if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
+	if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
+	if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
+
+# Now rename the file to the real destination.
+
+	$doit $rmcmd -f $dstdir/$dstfile &&
+	$doit $mvcmd $dsttmp $dstdir/$dstfile 
+
+fi &&
+
+
+exit 0

Propchange: incubator/triplesoup/donations/TRIPLES-2-libb/install-sh
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message