/[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 713 by norman.x.gray, Thu May 8 15:25:14 2008 UTC revision 714 by norman.x.gray, Wed Aug 6 20:02:09 2008 UTC
# Line 40  Line 40 
40  # Rules for creating note.xhtml from note.xml  # Rules for creating note.xhtml from note.xml
41    
42  %.aux: %.xml structure.xslt  %.aux: %.xml structure.xslt
43          rm -f $@          rm -f $@ $@.tmp
44  @USE_XSLTPROC@  $(XSLTPROC) --stringparam document-id $< --stringparam target aux \  @USE_XSLTPROC@  $(XSLTPROC) --stringparam document-id $< --stringparam target aux \
45  @USE_XSLTPROC@    structure.xslt $< >tmp && mv tmp $@  @USE_XSLTPROC@    structure.xslt $< >$@.tmp && mv $@.tmp $@
46  @USE_SAXON@     java -jar $(SAXONJAR) $< structure.xslt document-id=$< target=aux >tmp && mv tmp $@  @USE_SAXON@     java -jar $(SAXONJAR) $< structure.xslt document-id=$< target=aux >$@.tmp && mv $@.tmp $@
47  # Use printf rather than echo, since difference echo implementations treat  # Use printf rather than echo, since difference echo implementations treat
48  # \b in different ways (some as the pair of characters "\b", others as a backspace).  # \b in different ways (some as the pair of characters "\b", others as a backspace).
49          printf '\\bibstyle{plainhtml}\n' >> $@          printf '\\bibstyle{plainhtml}\n' >> $@
50    
51  # Following relies on BIBINPUTS and BSTINPUTS being set OK.  # Following relies on BIBINPUTS and BSTINPUTS being set OK.
52  %.bbl: %.aux rm-refs.bib  %.bbl: %.aux rm-refs.bib
53          rm -f $@ tmp          rm -f $@ $@.tmp
54          $(BIBTEX) $*          $(BIBTEX) $*
55          sed -e '1s+<dl>+<dl xmlns="http://www.w3.org/1999/xhtml">+' -f detex.sed $@ >tmp && mv tmp $@          sed -e '1s+<dl>+<dl xmlns="http://www.w3.org/1999/xhtml">+' -f detex.sed $@ >$@.tmp && mv $@.tmp $@
56    
57  %.xhtml: %.xml  %.xhtml: %.xml
58          rm -f $@ tmp          rm -f $@ $@.tmp
59  # This version converts certain characters to numeric entities  # This version converts certain characters to numeric entities
60  @USE_XSLTPROC@  $(XSLTPROC) --stringparam document-id $< structure.xslt $< | \  @USE_XSLTPROC@  $(XSLTPROC) --stringparam document-id $< structure.xslt $< | \
61  @USE_XSLTPROC@    $(edit) | sed -f to-entities.sed >tmp && mv tmp $@  @USE_XSLTPROC@    $(edit) | sed -f to-entities.sed >$@.tmp && mv $@.tmp $@
62  # Convert to ISO-8859-1 and dumb down certain characters not represented there  # Convert to ISO-8859-1 and dumb down certain characters not represented there
63  #@USE_XSLTPROC@   $(edit) >$@ | sed -e 's/“/"/g' -e 's/”/"/g' -e 's/–/-/g' -e 's/—/--/g' | iconv -f UTF-8 -t ISO-8859-1 >tmp && mv tmp $@  #@USE_XSLTPROC@   $(edit) >$@ | sed -e 's/“/"/g' -e 's/”/"/g' -e 's/–/-/g' -e 's/—/--/g' | iconv -f UTF-8 -t ISO-8859-1 >tmp && mv tmp $@
64  # The original and best -- just use UTF-8 and stop messing around  # The original and best -- just use UTF-8 and stop messing around
65  #@USE_XSLTPROC@   $(edit) >tmp && mv tmp $@  #@USE_XSLTPROC@   $(edit) >tmp && mv tmp $@
66  @USE_SAXON@     java -jar $(SAXONJAR) $< structure.xslt document-id=$< | $(edit) >tmp && mv tmp $@  @USE_SAXON@     java -jar $(SAXONJAR) $< structure.xslt document-id=$< | $(edit) >$@.tmp && mv $@.tmp $@
67    
68  # Check the RDFa content of vocabularies.xhtml  # Check the RDFa content of vocabularies.xhtml
69  %.rdf: %.xhtml RDFa2RDFXML.xsl  %.rdf: %.xhtml RDFa2RDFXML.xsl
70          rm -f $@ tmp          rm -f $@ $@.tmp
71  @USE_XSLTPROC@  $(XSLTPROC) RDFa2RDFXML.xsl $< >tmp && mv tmp $@  @USE_XSLTPROC@  $(XSLTPROC) RDFa2RDFXML.xsl $< >$@.tmp && mv $@.tmp $@
72  @USE_SAXON@     java -jar $(SAXONJAR) $< RDFa2RDFXML.xsl >tmp && mv tmp $@  @USE_SAXON@     java -jar $(SAXONJAR) $< RDFa2RDFXML.xsl >$@.tmp && mv $@.tmp $@
73    
74  # Reformat to Turtle  # Reformat to Turtle
75  %.ttl: %.rdf  %.ttl: %.rdf
76          rm -f $@ tmp          rm -f $@ $@.tmp
77          $(RAPPER) --output turtle $< $(BASEURI) >tmp && mv tmp $@          $(RAPPER) --output turtle $< $(BASEURI) >$@.tmp && mv $@.tmp $@
78    
79    
80  ########################################  ########################################
81  #  #
82  # Default target  # Default target
83    
84  all: vocabularies.xhtml vocabularies-issues.xhtml  all: vocabularies.html vocabularies-issues.xhtml
85    
86  # Add extra dependency  # Add extra dependency
87  vocabularies.xhtml: vocabularies.bbl  vocabularies.xhtml: vocabularies.bbl
88  vocabularies-issues.xhtml: vocabularies-issues.bbl  vocabularies-issues.xhtml: vocabularies-issues.bbl
89    
90    vocabularies.html: vocabularies.xhtml
91            rm -f $@ $@.tmp
92    @USE_XSLTPROC@  $(XSLTPROC) identity-html.xslt $< >$@.tmp && mv $@.tmp $@
93    @USE_SAXON@     java -jar $(SAXONJAR) $< identity-html.xslt >$@.tmp && mv $@.tmp $@
94    
95  ########################################  ########################################
96  #  #
97  # Extras  # Extras
# Line 101  Line 106 
106  # Maintenance  # Maintenance
107    
108  clean:  clean:
109          rm -f vocabularies.xhtml vocabularies.aux vocabularies.bbl \          rm -f *~ vocabularies.xhtml vocabularies.html vocabularies.aux vocabularies.bbl \
110                  vocabularies.blg vocabularies.rdf vocabularies.ttl tmp \                  vocabularies.blg vocabularies.rdf vocabularies.ttl tmp \
111                  vocabularies-issues.xhtml                  vocabularies-issues.xhtml
112    

Legend:
Removed from v.713  
changed lines
  Added in v.714

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