From: José Fonseca Date: Tue, 8 Jul 2008 02:04:46 +0000 (+0900) Subject: Packaging. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=3352b51e153c8f9cdec818e8b2aae99eb09fa3ef;p=apitrace Packaging. --- diff --git a/.gitignore b/.gitignore index 1a01d5b..9ee4cdb 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,5 @@ *.pyc *.pyo *.xml +*.zip d3d8.cpp diff --git a/SConstruct b/SConstruct index 193e45a..cdfd620 100644 --- a/SConstruct +++ b/SConstruct @@ -79,13 +79,11 @@ env.Prepend(LIBS = [ env.Append(CPPPATH = [ os.path.join(env['dxsdk'], 'Include'), - '#common', ]) Export('env') - env.Command( target = 'd3d8.cpp', source = ['d3d8.py', 'd3d8types.py', 'd3d8caps.py', 'windows.py', 'base.py'], @@ -93,8 +91,8 @@ env.Command( ) -env.SharedLibrary( - target = 'd3d8.dll', +d3d8 = env.SharedLibrary( + target = 'd3d8', source = [ 'd3d8.def', 'd3d8.cpp', @@ -104,3 +102,29 @@ env.SharedLibrary( SConscript([ 'd3d9/SConscript', ]) + + +env.Default(d3d8) + +env.Tool('packaging') + +zip = env.Package( + NAME = 'd3dtrace', + VERSION = '0.1', + PACKAGEVERSION = 0, + PACKAGETYPE = 'zip', + LICENSE = 'lgpl', + SUMMARY = 'Tool to trace Direct3D API calls from applications.', + SOURCE_URL = 'http://cgit.freedesktop.org/~jrfonseca/d3dtrace/', + source = [ + 'README', + 'COPYING', + 'COPYING.LESSER', + 'd3d8.dll', + 'd3dtrace.xsl', + 'd3dtrace.css', + 'd3dtrace-txt.xsl', + ], +) + +env.Alias('zip', zip)