~ubuntu-branches/debian/sid/redland-bindings/sid

« back to all changes in this revision

Viewing changes to docs/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Dave Beckett
  • Date: 2013-01-22 16:03:44 UTC
  • mfrom: (0.1.10)
  • Revision ID: package-import@ubuntu.com-20130122160344-vxrnfl0xynfzbze7
Tags: 1.0.16.1-1
* New upstream release
* Add dpkg-buildflags to configure for hardening

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
22
22
23
23
 
24
 
EXTRA_DIST=README.html README \
 
24
EXTRA_DIST=\
 
25
README.html README \
25
26
perl.html python.html ruby.html php.html \
26
27
fix-pod-xhtml fix-python-xhtml fix-rdoc-xhtml \
27
28
pod pydoc rdoc
46
47
Redland/Namespace Redland/World Redland/TripleStore Redland/Resource    \
47
48
Redland/MergedModel Redland/BNode Redland/QueryResults
48
49
 
49
 
RUBY_HTML_SOURCE_FILES=$(RUBY_FILES:%=rdoc/files/rdf/redland/%_rb.html)
50
 
RUBY_HTML_CLASS_FILES=$(RUBY_CLASSES:%=rdoc/classes/%.html)
 
50
RUBY_HTML_SOURCE_FILES=$(RUBY_FILES:%=rdoc/rdf/redland/%_rb.html)
 
51
RUBY_HTML_CLASS_FILES=$(RUBY_CLASSES:%=rdoc/%.html)
51
52
 
52
53
RUBY_HTML_RDOC_FILES= \
53
54
$(RUBY_HTML_SOURCE_FILES) \
54
 
rdoc/files/rdf/redland_rb.html \
55
 
rdoc/fr_file_index.html \
 
55
rdoc/rdf/redland_rb.html \
56
56
$(RUBY_HTML_CLASS_FILES) \
57
 
rdoc/fr_class_index.html \
58
 
rdoc/fr_method_index.html \
59
57
rdoc/index.html
60
 
RUBY_EXTRA_RDOC_FILES=rdoc/rdoc-style.css
 
58
 
 
59
RUBY_EXTRA_RDOC_FILES= \
 
60
rdoc/rdoc.css rdoc/rdoc-style.css
61
61
 
62
62
CLEANFILES=README
 
63
 
63
64
MAINTAINERCLEANFILES=pod pydoc rdoc-dirs-stamp
64
65
 
65
66
PERL=perl
79
80
.html.txt:
80
81
        $(LYNX) $(LYNXARGS) $< > $@
81
82
 
82
 
@MAINT@$(PERL_HTML_POD_FILES): pod/%.html: $(srcdir)/../perl/lib/%.pm $(srcdir)/fix-pod-xhtml
83
 
@MAINT@ mkdir -p pod/RDF/Redland
84
 
@MAINT@ -pod2html --noindex --htmlroot /docs/pod --infile=$< | tidy -asxml -wrap 1000 2>/dev/null | $(PERL) $(srcdir)/fix-pod-xhtml $@
85
 
@MAINT@ rm -f pod2htm*
86
 
@MAINT@
87
 
@MAINT@$(srcdir)/../python/RDF.html: $(srcdir)/../python/RDF.py
88
 
@MAINT@ cd $(srcdir)/../python && make RDF.html
89
 
@MAINT@$(PYTHON_HTML_PYDOC_FILES): pydoc/%.html: $(srcdir)/../python/RDF.html $(srcdir)/fix-python-xhtml
90
 
@MAINT@ mkdir -p pydoc
91
 
@MAINT@ -tidy -asxml -wrap 1000 $< 2>/dev/null | $(PERL) $(srcdir)/fix-python-xhtml $@
92
 
@MAINT@.pod.html: $(srcdir)/fix-pod-xhtml
93
 
@MAINT@ -pod2html --noindex --htmlroot /docs/pod --infile=$< | tidy -asxml -wrap 1000 2>/dev/null | $(PERL) $(srcdir)/fix-pod-xhtml $@
94
 
@MAINT@ rm -f pod2htm*
95
 
@MAINT@
96
 
@MAINT@$(srcdir)/../ruby/rdoc-stamp:
97
 
@MAINT@ cd $(srcdir)/../ruby && make docs
98
 
@MAINT@rdoc-dirs-stamp:
99
 
@MAINT@ mkdir -p rdoc rdoc/classes rdoc/classes/Redland rdoc/files rdoc/files/rdf rdoc/files/rdf/redland rdoc/files/rdf/redland/schemas && touch $@
100
 
@MAINT@$(RUBY_HTML_RDOC_FILES): rdoc/%.html: $(srcdir)/../ruby/rdoc-stamp $(srcdir)/fix-rdoc-xhtml rdoc-dirs-stamp
101
 
@MAINT@ -tidy -asxml -wrap 1000 $(srcdir)/../ruby/$@ 2>/dev/null | $(PERL) $(srcdir)/fix-rdoc-xhtml $@
102
 
@MAINT@$(RUBY_EXTRA_RDOC_FILES): $(srcdir)/../ruby/rdoc-stamp rdoc-dirs-stamp
103
 
@MAINT@ $(INSTALL_DATA) $(srcdir)/../ruby/$@ $@
 
83
if MAINTAINER_MODE
 
84
# PERL
 
85
$(PERL_HTML_POD_FILES): pod/%.html: $(srcdir)/../perl/lib/%.pm $(srcdir)/fix-pod-xhtml
 
86
        mkdir -p pod/RDF/Redland
 
87
        -pod2html --noindex --htmlroot /docs/pod --infile=$< | tidy -asxml -wrap 1000 2>/dev/null | $(PERL) $(srcdir)/fix-pod-xhtml $@
 
88
        rm -f pod2htm*
 
89
 
 
90
$(srcdir)/../python/RDF.html: $(srcdir)/../python/RDF.py
 
91
        cd $(srcdir)/../python && $(MAKE) RDF.html
 
92
 
 
93
# PYTHON
 
94
$(PYTHON_HTML_PYDOC_FILES): pydoc/%.html: $(srcdir)/../python/RDF.html $(srcdir)/fix-python-xhtml
 
95
        mkdir -p pydoc
 
96
        -tidy -asxml -wrap 1000 $< 2>/dev/null | $(PERL) $(srcdir)/fix-python-xhtml $@
 
97
 
 
98
.pod.html: $(srcdir)/fix-pod-xhtml
 
99
        -pod2html --noindex --htmlroot /docs/pod --infile=$< | tidy -asxml -wrap 1000 2>/dev/null | $(PERL) $(srcdir)/fix-pod-xhtml $@
 
100
        rm -f pod2htm*
 
101
 
 
102
# RUBY
 
103
$(RUBY_HTML_RDOC_FILES): rdoc/%.html: $(srcdir)/fix-rdoc-xhtml rdoc-dirs-stamp
 
104
        -tidy -asxml -wrap 1000 $(srcdir)/../ruby/$@ 2>/dev/null | $(PERL) $(srcdir)/fix-rdoc-xhtml $@
 
105
 
 
106
$(RUBY_EXTRA_RDOC_FILES): rdoc-dirs-stamp
 
107
        @for file in $(RUBY_EXTRA_RDOC_FILES); do \
 
108
          if test -r $(srcdir)/../ruby/$$file; then \
 
109
            echo $(INSTALL_DATA) $(srcdir)/../ruby/$$file $$file; \
 
110
            $(INSTALL_DATA) $(srcdir)/../ruby/$$file $$file; \
 
111
          else \
 
112
            echo touch $$file; \
 
113
            touch $$file; \
 
114
          fi; \
 
115
        done
 
116
 
 
117
rdoc-dirs-stamp: $(srcdir)/../ruby/rdoc-stamp
 
118
        mkdir -p rdoc rdoc/Redland rdoc/rdf rdoc/rdf/redland rdoc/rdf/redland/schemas && touch $@
 
119
 
 
120
$(srcdir)/../ruby/rdoc-stamp:
 
121
        cd $(srcdir)/../ruby && $(MAKE) docs
 
122
endif
104
123
 
105
124
 
106
125
clean-local: