2 DOCNAME = ardour_manual
4 # Default values, only set if not set in book Makefile
6 XMLFILE ?= xml/$(DOCNAME).xml
7 XSLFILE ?= xsl/html.xsl
8 CSSFILE ?= $(DOCNAME).css
12 # xsltproc -output option gives I/O errors because??, so
13 # just move the html to the output directory
15 # creating output directory
18 LANG=en_US.UTF-8 $(XSLTPROC) -xinclude $(XSLFILE) $(XMLFILE)
19 # copy html files to output directory
21 # copy css file to output directory
22 -@cp css/$(CSSFILE) $(OUTDIR)/$(CSSFILE)
23 # copy the image files to the output directory
24 -@cp -r images $(OUTDIR)/images
29 xmllint --noout --postvalid --xinclude $(XMLFILE)
39 cd tmp && tar cf - . | bzip2 > ../man.tar.bz2
40 scp man.tar.bz2 las@ardour.org:ardour.org