$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Jaroslav Gresula (jgresula_at_[hidden])
Date: 2006-02-28 16:31:33
I have a custom generator which produces two files: .cpp and .py
#-- swig.jam
type.register SWIG : swg ;
generators.register-standard swig.swig-file : SWIG : CPP ;
actions swig-file
{
# invokes an application which generates .cpp and .py files
}
#--
Now, I would like to have an install rule which copies both generated files to a
specified location, e.g. something like this:
#-- Jamfile
cpp output : def.swg ;
install install
:
output
:
<install-dependecies>on
<location>.
;
#--
This copies only output.cpp as bjam has no clue about output.py. Is there a way
how one can specify that also output.py is bound to the output target?
Thanks,
Jarda