Boost logo

Boost-Commit :

From: eric_at_[hidden]
Date: 2008-01-09 15:21:52


Author: eric_niebler
Date: 2008-01-09 15:21:51 EST (Wed, 09 Jan 2008)
New Revision: 42641
URL: http://svn.boost.org/trac/boost/changeset/42641

Log:
copy the png files to where fop will look for them when building pdf
Text files modified:
   trunk/libs/accumulators/doc/Jamfile.v2 | 15 +++++++++++----
   1 files changed, 11 insertions(+), 4 deletions(-)

Modified: trunk/libs/accumulators/doc/Jamfile.v2
==============================================================================
--- trunk/libs/accumulators/doc/Jamfile.v2 (original)
+++ trunk/libs/accumulators/doc/Jamfile.v2 2008-01-09 15:21:51 EST (Wed, 09 Jan 2008)
@@ -61,20 +61,27 @@
 if [ os.name ] = NT
 {
     CP = copy /y ;
+ MKDIR = mkdir ;
     FROM = \\..\\..\\html\\statsdoc\\*.png ;
- TO = .\\html\\images\\accumulators ;
+ TOHTML = .\\html\\images\\accumulators ;
+ TOPDF = \\images\\accumulators ;
 }
 else
 {
     CP = cp ;
+ MKDIR = mkdir -p ;
     FROM = /../../html/statsdoc/*.png ;
- TO = ./html/images/accumulators ;
+ TOHTML = ./html/images/accumulators ;
+ TOPDF = /images/accumulators ;
 }
 
 actions copy-latex-pngs
 {
- mkdir $(TO)
- $(CP) $(<:D)$(FROM) $(TO) && echo "Stamped" > "$(<)"
+ $(MKDIR) $(TOHTML)
+ $(MKDIR) $(<:D)$(TOPDF)
+ $(CP) $(<:D)$(FROM) $(TOHTML)
+ $(CP) $(<:D)$(FROM) $(<:D)$(TOPDF)
+ echo "Stamped" > "$(<)"
 }
 
 # This causes the png files built above to be copied


Boost-Commit 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