# -*- Mode: Makefile -*- # # Makefile.am - docs automake file for Redland Bindings # # $Id: Makefile.am 11644 2006-11-29 05:28:09Z dajobe $ # # Copyright (C) 2000-2005, David Beckett http://purl.org/net/dajobe/ # Copyright (C) 2000-2005, University of Bristol, UK http://www.bristol.ac.uk/ # # This package is Free Software and part of Redland http://librdf.org/ # # It is licensed under the following three licenses as alternatives: # 1. GNU Lesser General Public License (LGPL) V2.1 or any newer version # 2. GNU General Public License (GPL) V2 or any newer version # 3. Apache License, V2.0 or any newer version # # You may not use this file except in compliance with at least one of # the above three licenses. # # See LICENSE.html or LICENSE.txt at the top of this package for the # complete terms and further detail along with the license texts for # the licenses in COPYING.LIB, COPYING and LICENSE-2.0.txt respectively. # # EXTRA_DIST= \ perl.html \ fix-pod-xhtml \ pod POD_MODULES=RDF/Redland RDF/Redland/Iterator RDF/Redland/Model RDF/Redland/Node RDF/Redland/Parser RDF/Redland/Query RDF/Redland/QueryResults RDF/Redland/RSS RDF/Redland/Serializer RDF/Redland/Statement RDF/Redland/Storage RDF/Redland/Stream RDF/Redland/URI RDF/Redland/BlankNode RDF/Redland/URINode RDF/Redland/LiteralNode RDF/Redland/XMLLiteralNode PERL_HTML_POD_FILES=$(POD_MODULES:%=pod/%.html) CLEANFILES=README MAINTAINERCLEANFILES=pod PERL=perl # Create some text files from HTML sources LYNX=lynx LYNXARGS=-dump -nolist SUFFIXES = .html .txt .sgml .ps .pdf .pm .pod pod: $(PERL_HTML_POD_FILES) .html.txt: $(LYNX) $(LYNXARGS) $< > $@ @MAINT@$(PERL_HTML_POD_FILES): pod/%.html: $(srcdir)/../perl/lib/%.pm $(srcdir)/fix-pod-xhtml @MAINT@ mkdir -p pod/RDF/Redland @MAINT@ -pod2html --noindex --htmlroot /docs/pod --infile=$< | tidy -asxml -wrap 1000 2>/dev/null | perl $(srcdir)/fix-pod-xhtml $@ @MAINT@ rm -f pod2htm* @MAINT@ @MAINT@.pod.html: $(srcdir)/fix-pod-xhtml @MAINT@ -pod2html --noindex --htmlroot /docs/pod --infile=$< | tidy -asxml -wrap 1000 2>/dev/null | perl $(srcdir)/fix-pod-xhtml $@ @MAINT@ rm -f pod2htm* clean-local: rm -rf pod2htm* @SET_MAKE@