/[volute]/trunk/projects/vocabularies/doc/Makefile.in
ViewVC logotype

Diff of /trunk/projects/vocabularies/doc/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 15 by norman.x.gray, Thu Dec 6 17:28:48 2007 UTC revision 16 by norman.x.gray, Fri Dec 7 13:45:23 2007 UTC
# Line 9  Line 9 
9  # Use Saxon if necessary: some xsltproc versions seem to have trouble with  # Use Saxon if necessary: some xsltproc versions seem to have trouble with
10  # the structure.xslt file.  If this is indeed necessary, adjust the SAXONJAR  # the structure.xslt file.  If this is indeed necessary, adjust the SAXONJAR
11  # line below.  # line below.
12  SAXONJAR=saxon8.jar  SAXONJAR=@SAXONJAR@
13    XSLTPROC=@XSLTPROC@
14    
15  edit=sed -e 's/@VERSION\@/$(VERSION)/g' \  edit=sed -e 's/@VERSION\@/$(VERSION)/g' \
16           -e 's/@RELEASEDATE\@/$(RELEASEDATE)/g' \           -e 's/@RELEASEDATE\@/$(RELEASEDATE)/g' \
# Line 20  Line 21 
21    
22  %.aux: %.xml structure.xslt  %.aux: %.xml structure.xslt
23          rm -f $@          rm -f $@
24          xsltproc --stringparam document-id $< --stringparam target aux \  @USE_XSLTPROC@  xsltproc --stringparam document-id $< --stringparam target aux \
25            structure.xslt $< >tmp && mv tmp $@  @USE_XSLTPROC@    structure.xslt $< >tmp && mv tmp $@
26    @USE_SAXON@     java -jar $(SAXONJAR) $< structure.xslt document-id=$< target=aux >tmp && mv tmp $@
27          echo '\bibstyle{plainhtml}' >> $@          echo '\bibstyle{plainhtml}' >> $@
28    
29  # Following relies on BIBINPUTS and BSTINPUTS being set OK.  # Following relies on BIBINPUTS and BSTINPUTS being set OK.
# Line 36  Line 38 
38    
39  vocabularies.xhtml: vocabularies.xml vocabularies.bbl structure.xslt  vocabularies.xhtml: vocabularies.xml vocabularies.bbl structure.xslt
40          rm -f $@ tmp          rm -f $@ tmp
41          xsltproc --stringparam document-id vocabularies.xml \  @USE_XSLTPROC@  $(XSLTPROC) --stringparam document-id vocabularies.xml \
42            structure.xslt vocabularies.xml | $(edit) >tmp && mv tmp $@  @USE_XSLTPROC@    structure.xslt vocabularies.xml | $(edit) >tmp && mv tmp $@
43  #       java -jar $(SAXONJAR) vocabularies.xml structure.xslt document-id=vocabularies.xml | $(edit) >tmp && mv tmp $@  @USE_SAXON@     java -jar $(SAXONJAR) vocabularies.xml structure.xslt document-id=vocabularies.xml | $(edit) >tmp && mv tmp $@
44    
45    
46    #       xsltproc --stringparam document-id vocabularies.xml \
47    #         structure.xslt vocabularies.xml | $(edit) >tmp && mv tmp $@
48    ##      java -jar $(SAXONJAR) vocabularies.xml structure.xslt document-id=vocabularies.xml | $(edit) >tmp && mv tmp $@
49    
50  ########################################  ########################################
51  #  #
# Line 47  Line 54 
54  # Check the RDFa content of vocabularies.xhtml  # Check the RDFa content of vocabularies.xhtml
55  vocabularies.rdf: vocabularies.xhtml RDFa2RDFXML.xsl  vocabularies.rdf: vocabularies.xhtml RDFa2RDFXML.xsl
56          rm -f $@ tmp          rm -f $@ tmp
57          xsltproc RDFa2RDFXML.xsl vocabularies.xhtml >tmp && mv tmp $@  @USE_XSLTPROC@  xsltproc RDFa2RDFXML.xsl vocabularies.xhtml >tmp && mv tmp $@
58    @USE_SAXON@     java -jar $(SAXONJAR) vocabularies.xhtml RDFa2RDFXML.xsl >tmp && mv tmp $@
59    
60  # This refers to a local copy of the current version of the script  # This refers to a local copy of the current version of the script
61  # RDFa2RDFXML.xsl available from <http://ns.inria.fr/grddl/rdfa/>  # RDFa2RDFXML.xsl available from <http://ns.inria.fr/grddl/rdfa/>

Legend:
Removed from v.15  
changed lines
  Added in v.16

msdemlei@ari.uni-heidelberg.de
ViewVC Help
Powered by ViewVC 1.1.26