[ all line numbers relative to 1.7.x@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?