[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sc-devel] [PROPOSE] adding automatic debian package building to SConscript



Hello,

I have put a small SConscript together that will build a supercollider3.deb package from a build. Its really really simple and could possibly be extended but its a start. I find this useful, as it eases (un-)installation process, and makes re-distribution easier.

it should work the following way:
#======================================================================                                                                                                          
# debian distribution                                                                                                                                                              #======================================================================                                                                                                          
                                                                                                                                                                                  
if 'debian' in COMMAND_LINE_TARGETS:                                                                                                                                              
    Export('env')                                                                                                                                                                 
    SConscript("debian/SConstruct")                                                                                                                                               
                                                                              
and it should work

one should build the following way:

scons PREFIX=/usr DEVELOPMENT=yes
scons debian

its crap to have to execute it twice, but I only did this today and didn't get my head around all of scons & python. maybe somebody knows how to improve this?

I used this guide for basic instructions but didn't get he automatic parsing of the control file to work, so I left it out for a start ;-D
http://www.qandr.org/quentin/writings/debscons.html

greetings,

k

Attachment: control
Description: Binary data

Attachment: SConstruct
Description: Binary data