Daniel Rall wrote:
> Russell Yanofsky wrote:
>> Does "add-deps = mkdir-init" do what you need?
>
> I've tried both this and nonlibs. When using add-deps with either the
> libsvn_swig_java or swig_client config sections, the dependency is
> added too late in sequence.
> ...
> Any ideas as to how the mkdir-init dependency can be added earlier in
> the dependency sequence?
You could modify gen-make.py to put add-deps dependencies before normal
dependencies.
The code currently reads:
self.ofile.write(
'%s_DEPS = %s %s\n'
'%s_OBJECTS = %s\n'
'%s: $(%s_DEPS)\n'
'\tcd %s && %s -o %s $(%s_OBJECTS) %s $(LIBS)\n\n'
% (targ_varname, string.join(objects + deps), target_ob.add_deps,
targ_varname, objnames,
target_ob.filename, targ_varname,
path, target_ob.link_cmd, os.path.basename(target_ob.filename),
targ_varname, string.join(libs))
)
so all you'd need to do is switch the second and third strings.
- Russ
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 23 21:42:21 2003