[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[1.7.x] build.conf += install-tools of an apache-mod

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Fri, 16 Mar 2012 21:16:39 +0200

[ all line numbers relative to 1.7.x_at_HEAD ]

I'm looking at how to move mod_dontdothat to 'make install-tools' rather
than 'make install-mods-shared' (which is part of 'make install').

AIUI, the right way to do this involves:

1. Change the 'install' attribute of build.conf[mod_dontdothat] to 'apache-mod'

2. Edit build/generator/templates/makefile.ezt Section #7, such that,
when [is areas.type "tools"], files corresponding to 'apache-mod'
targets get installed using $(INSTALL_MOD_SHARED).

3. Edit build/generator/gen_make.py:362+, to recognize that
TargetApacheMod instances may occur not only when (area == "apache-mod"),
and to add to the areas.files[$_] ezt object attributes that the above
step #2 requires.

However, I'm running into a problem: even though the INST_TARGETS
variable in gen_make.py contains a TargetApacheMod instance as a member,
the variable is NOT USED. All that loop uses are the raw filenames
(line 393).

How can I make gen_make.py:393 treat files that correspond to
install='apache-mod' targets differently?
Received on 2012-03-16 20:17:24 CET

This is an archived mail posted to the Subversion Dev mailing list.