Boost logo

Boost-Build :

From: Daniel Einspanjer (deinspanjer_at_[hidden])
Date: 2006-02-10 17:18:37


In our make files, we have something like the following targets:

==================================
attrs: attrs.cpp attrs.htm

attrs.cpp: attrs.xml attrs.xslt
 $(JAVA_HOME)/bin/java org.apache.xalan.xslt.Process -IN attrs.xml -XSL
attrs.xslt -out $@
 touch -r attrs.xml $@

attrs.htm: attrs.xml attrstohtml.xslt
 $(JAVA_HOME)/bin/java org.apache.xalan.xslt.Process -IN attrs.xml -XSL
attrstohtml.xslt -out attrs.htm
 touch -r attrs.xml $@
===================================

The htm file is just a human readable reference to the attrs generated.

What would be a good way to go about porting this to BB?

-- 
Daniel Einspanjer 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk