Update of /cvsroot/boost/boost/tools/regression/xsl_reports
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv25720
Modified Files:
Tag: RC_1_34_0
boostbook_report.py
Log Message:
Now makes tarballs
Index: boostbook_report.py
===================================================================
RCS file:
/cvsroot/boost/boost/tools/regression/xsl_reports/Attic/boostbook_report.py,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -d -r1.1.2.3 -r1.1.2.4
--- boostbook_report.py 4 Feb 2007 19:07:43 -0000 1.1.2.3
+++ boostbook_report.py 4 Feb 2007 19:27:08 -0000 1.1.2.4
@@ -107,14 +107,19 @@
os.utime( local_copy, ( m, m ) )
- unpacked_docs_dir = os.path.join( options.destination,
os.path.splitext( os.path.basename( local_copy ) )[0] )
- utils.log( 'Dri %s ' % unpacked_docs_dir )
- if os.path.exists( unpacked_docs_dir ):
- utils.log( 'Cleaning up...' )
- shutil.rmtree( unpacked_docs_dir )
- os.makedirs( unpacked_docs_dir )
-
- unzip( local_copy, unpacked_docs_dir )
+ docs_name = os.path.splitext( os.path.basename( local_copy ) )[0]
+ if 1:
+ unpacked_docs_dir = os.path.join( options.destination, docs_name )
+ utils.log( 'Dri %s ' % unpacked_docs_dir )
+ if os.path.exists( unpacked_docs_dir ):
+ utils.log( 'Cleaning up...' )
+ shutil.rmtree( unpacked_docs_dir )
+ os.makedirs( unpacked_docs_dir )
+
+ unzip( local_copy, unpacked_docs_dir )
+
+ utils.system( [ 'cd %s' % unpacked_docs_dir
+ , 'tar -c -f ../%s.tar.gz -z --exclude=tarball *' %
docs_name ] )
def main():
options = accept_args( sys.argv[1:])
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs