/[svn]/jsampler/trunk/manual/docbook/Makefile
ViewVC logotype

Contents of /jsampler/trunk/manual/docbook/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1144 - (show annotations) (download)
Mon Apr 2 21:39:15 2007 UTC (17 years ago) by iliev
File size: 1039 byte(s)
- upgrading to version 0.4a

1 OUTDIR ?= ../html
2 XMLFILE ?= jsampler.xml
3 XSLFILE ?= html.xsl
4 XSLCHUNKEDFILE ?= html-chunked.xsl
5 HTMLFILE ?= ../html/jsampler.html
6 CSSFILE ?= jsampler.css
7 XSLTPROC ?= xsltproc
8
9 html-chunked:: clean
10 # creating output directory
11 -@mkdir $(OUTDIR)
12 # generating html
13 $(XSLTPROC) -stringparam base.dir $(OUTDIR)/ -stringparam chunk.section.depth 1 $(XSLCHUNKEDFILE) $(XMLFILE)
14 # copy css file to output directory
15 -@cp $(CSSFILE) $(OUTDIR)/$(CSSFILE)
16 # copy the image files to the output directory
17 -@cp -r images $(OUTDIR)/images
18 # copy the license files to the output directory
19 -@cp ../../licenses/gfdl.html $(OUTDIR)
20
21 html:: clean
22 # creating output directory
23 -@mkdir $(OUTDIR)
24 # generating html
25 $(XSLTPROC) -o $(HTMLFILE) $(XSLFILE) $(XMLFILE)
26 # copy css file to output directory
27 -@cp $(CSSFILE) $(OUTDIR)/$(CSSFILE)
28 # copy the image files to the output directory
29 -@cp -r images $(OUTDIR)/images
30 # copy the license files to the output directory
31 -@cp ../../licenses/gfdl.html $(OUTDIR)
32
33 clean::
34 @rm -rf $(OUTDIR)
35

  ViewVC Help
Powered by ViewVC