[Scons-users] How to create a build rule for a target with no sources

M Busche spammymatt94 at yahoo.com
Tue Jan 29 11:06:21 EST 2013


I'm building up a software distribution package and I want to force the creation of an empty directory under my generated distribution directory.


I have two questions:

1.  Is this the simplest way to instantiate a build rule for directory d?


Command("d", "s", Mkdir("$TARGET"))

2.  What if there is no dependency "s", but I'd still like "d" created as a build target?  What should I be passing for the source parameter?

Thanks,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130129/631a881e/attachment.htm>


More information about the Scons-users mailing list