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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 58 - (show annotations)
Sun Feb 10 22:14:45 2008 UTC (12 years, 9 months ago) by norman.x.gray
File size: 2726 byte(s)
Reworking vocabset-5 issue, following list discussions
Fix editors in std:ucdmaint ref
Styling tweaks: add fancy '[link here]' link in generated XHTML

1 DISTURI=@DISTURI@
2 BASEURI=@BASEURI@
3
4 VERSION=@PACKAGE_VERSION@
5 RELEASEDATE=@RELEASEDATE@
6
7 # Following should/will be overridden by the Makefile which calls this one
8 DISTNAME=@DISTNAME@
9
10 # Use Saxon if necessary: some xsltproc versions seem to have trouble with
11 # the structure.xslt file. If this is indeed necessary, adjust the SAXONJAR
12 # line below.
13 SAXONJAR="@SAXONJAR@"
14 XSLTPROC="@XSLTPROC@"
15 BIBTEX="@BIBTEX@"
16 RAPPER="@RAPPER@"
17
18 edit=sed -e 's/@VERSION\@/$(VERSION)/g' \
19 -e 's/@RELEASEDATE\@/$(RELEASEDATE)/g' \
20 -e 's,@DISTURI\@,$(DISTURI),g' \
21 -e 's,@BASEURI\@,$(BASEURI),g' \
22 -e 's,@DISTNAME\@,$(DISTNAME),g' \
23 -e 's,\$$\([A-Z][A-Za-z]*:[^$$]*\)\$$,\1,g'
24
25 # Rules for creating note.xhtml from note.xml
26
27 %.aux: %.xml structure.xslt
28 rm -f $@
29 @USE_XSLTPROC@ $(XSLTPROC) --stringparam document-id $< --stringparam target aux \
30 @USE_XSLTPROC@ structure.xslt $< >tmp && mv tmp $@
31 @USE_SAXON@ java -jar $(SAXONJAR) $< structure.xslt document-id=$< target=aux >tmp && mv tmp $@
32 # Use printf rather than echo, since difference echo implementations treat
33 # \b in different ways (some as the pair of characters "\b", others as a backspace).
34 printf '\\bibstyle{plainhtml}\n' >> $@
35
36 # Following relies on BIBINPUTS and BSTINPUTS being set OK.
37 %.bbl: %.aux rm-refs.bib
38 rm -f $@ tmp
39 $(BIBTEX) $*
40 sed -e '1s+<dl>+<dl xmlns="http://www.w3.org/1999/xhtml">+' -f detex.sed $@ >tmp && mv tmp $@
41
42 %.xhtml: %.xml
43 rm -f $@ tmp
44 @USE_XSLTPROC@ $(XSLTPROC) --stringparam document-id $< \
45 @USE_XSLTPROC@ structure.xslt $< | $(edit) >tmp && mv tmp $@
46 @USE_SAXON@ java -jar $(SAXONJAR) $< structure.xslt document-id=$< | $(edit) >tmp && mv tmp $@
47
48 # Check the RDFa content of vocabularies.xhtml
49 %.rdf: %.xhtml RDFa2RDFXML.xsl
50 rm -f $@ tmp
51 @USE_XSLTPROC@ $(XSLTPROC) RDFa2RDFXML.xsl $< >tmp && mv tmp $@
52 @USE_SAXON@ java -jar $(SAXONJAR) $< RDFa2RDFXML.xsl >tmp && mv tmp $@
53
54 # Reformat to Turtle
55 %.ttl: %.rdf
56 rm -f $@ tmp
57 $(RAPPER) --output turtle $< $(BASEURI) >tmp && mv tmp $@
58
59
60 ########################################
61 #
62 # Default target
63
64 all: vocabularies.xhtml vocabularies-issues.xhtml
65
66 # Add extra dependency
67 vocabularies.xhtml: vocabularies.bbl
68 vocabularies-issues.xhtml: vocabularies-issues.bbl
69
70 ########################################
71 #
72 # Extras
73
74 # This refers to a local copy of the current version of the script
75 # RDFa2RDFXML.xsl available from <http://ns.inria.fr/grddl/rdfa/>
76 RDFa2RDFXML.xsl:
77 curl http://ns.inria.fr/grddl/rdfa/2007/09/19/RDFa2RDFXML.xsl >$@
78
79 ########################################
80 #
81 # Maintenance
82
83 clean:
84 rm -f vocabularies.xhtml vocabularies.aux vocabularies.bbl \
85 vocabularies.blg vocabularies.rdf vocabularies.ttl tmp \
86 vocabularies-issues.xhtml
87
88 realclean: clean
89 rm -f Makefile

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