an XSL/xsltproc-based TLDP toolchain?

Robert P. J. Day rpjday at
Thu Jun 7 14:54:16 UTC 2007

On Thu, 7 Jun 2007, Paul W. Frields wrote:

> On Thu, 2007-06-07 at 07:22 -0400, Robert P. J. Day wrote:
> > i've just become a maintainer of one of the guides over at,
> > and the current build infrastructure is based on DSSSL stylesheets,
> > whereas i'd really prefer to work with XSL and xsltproc.
> >
> >   does anyone have a working toolchain that runs under FC6/F7 that
> > uses strictly the XSL-based stuff?  thanks.
> I think this describes our build tools:
> If you have specific questions about how we're doing something
> please feel free to drop another line here!

not trying to sound lazy, but what i was after was a top-level
Makefile that was the XSL-based version of the Makefile that's already
at the top of this project.  i've reproduced it below -- you can see
how it's clearly DSSSL-based and, in fact, it won't even work under
FC6 given that the directory locations are just plain wrong.

so i'm looking for an equivalent XSL version that would work under
FC6.  am i making sense here?

TARBALL = ${TARGET}.tar.bz2
EXAMPLES = ./${TARGET}-examples
TIMESTAMP=`/bin/date +'%Y-%m-%d-%H-%M'`
JADEOPTIONS=-t sgml -i html -V nochunks  -d $(LDPDSL)

# Make the darn thing...
	make images
	make index
	jade ${JADEOPTIONS} ${TARGET}.sgml > ${TARGET}.html
	-ldp_print ${TARGET}.html
	#make tidy

# This target creates index stuff
index: -N -o index.sgml
	jade -t sgml -V html-index -d ${DOCDSL} ${TARGET}.sgml -g -t Index -i doc-index -o index.sgml HTML.index

	@make clean
	cp ${TARGET}.html /www/linux/writing/lkmpg
	cp ${TARGET}.ps   /www/linux/writing/lkmpg
	@make clean
	cd ..; tar jcv lkmpg > ${TARBALL}
	mv ../${TARBALL} .
	cp ${TARBALL} /www/linux/writing/lkmpg

# Create images
	fig2dev -L png figures/seq_file.fig > figures/seq_file.png

# Get rid of the temp files created during the index and document build.
	@rm -rf body.html title.html HTML.index index.sgml [a-km-z]*.html [a-km-z]*.htm ln14.html figures/*.png

# Get rid of everything.
	make tidy
	@rm -rf ${EXAMPLES}/*/*.o ${EXAMPLES}/*/*.ko ${TARBALL} *.html *.htm *.ps *.pdf

# Build the modules
SUBDIRS += lkmpg-examples/[0-9][0-9]-*/
	@for i in $(SUBDIRS); do \
	echo "make all in $$i..."; \
	(cd $$i; $(MAKE) all); done

	@for i in $(SUBDIRS); do \
	echo "make clean in $$i..."; \
	(cd $$i; $(MAKE) clean); done

More information about the fedora-docs-list mailing list