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 tldp.org, > > 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: > > http://cvs.fedoraproject.org/viewcvs/docs-common/?root=docs > > 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? TARGET=lkmpg TARBALL = ${TARGET}.tar.bz2 EXAMPLES = ./${TARGET}-examples BACKUPDIR=/usr/local/backup/${TARGET} LDPDSL='/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/ldp.dsl\#html' DOCDSL='/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl' TIMESTAMP=`/bin/date +'%Y-%m-%d-%H-%M'` JADEOPTIONS=-t sgml -i html -V nochunks -d $(LDPDSL) WEBDIR='/www/linux/writing' # Make the darn thing... # new: make images make index jade ${JADEOPTIONS} ${TARGET}.sgml > ${TARGET}.html -ldp_print ${TARGET}.html #make tidy # This target creates index stuff # index: collateindex.pl -N -o index.sgml jade -t sgml -V html-index -d ${DOCDSL} ${TARGET}.sgml collateindex.pl -g -t Index -i doc-index -o index.sgml HTML.index publish: @make clean @make @./extractor 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 # 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. # tidy: @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. # clean: make tidy @rm -rf ${EXAMPLES}/*/*.o ${EXAMPLES}/*/*.ko ${TARBALL} *.html *.htm *.ps *.pdf # Build the modules SUBDIRS += lkmpg-examples/[0-9][0-9]-*/ modules: @for i in $(SUBDIRS); do \ echo "make all in $$i..."; \ (cd $$i; $(MAKE) all); done modules_clean: @for i in $(SUBDIRS); do \ echo "make clean in $$i..."; \ (cd $$i; $(MAKE) clean); done -- fedora-docs-list mailing list fedora-docs-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-docs-list