Site
Layout
Linking
Customization
Building
Using Make
Using
XSLT
Text-only
Form
Test
XBEL
Bookmarks
|
Building with Make
The following instructions work with recent versions
of GNU Make; you may have to tweak them a bit if you're
using some other version of make.
-
Create your webpages and
your layout.xml file.
-
Create a skeletal
Makefile like this:
PROC=xslproc
STYLEDIR=../xsl
TABSTYLE=$(STYLEDIR)/tabular.xsl
STYLESHEET=$(TABSTYLE)
STYLEOPT=
.PHONY : clean
all:
make website
include depends.tabular
autolayout.xml: layout.xml
$(PROC) $< $(STYLEDIR)/autolayout.xsl $@
make depends
%.html: autolayout.xml
$(PROC) $(filter-out autolayout.xml,$^) $(STYLESHEET) $@ $(STYLEOPT)
depends: autolayout.xml
$(PROC) $< ../xsl/makefile-dep.xsl depends.tabular
You'll have to change the PROC
setting and the command-lines used to run the
processor.
-
Create an empty file
called depends.tabular.
-
Run make
depends.
-
Run make. That
should build your website.
|