some distributions like loki or mysql have different
file extensions for include files: e.g. .hpp or .hh.
Confix doesn't take those files into account. therefore
they are not copied to the include directory if
building a build.
To add this behaviour confix should provide addtional
environment variables which should be setable in the
Makefile.py of the package.
e.g: "ADDIONAL_HEADER_FILE_EXTENSIONS="hpp hh ...:
Since the files must only be copied to the destination
directory it should not be much of a workload to add
the feature. A second alternative is to mark the
additional header files in the corresponding module (in
the Makefile.py) so that they must also be installed.
In addition the loki package also includes .cpp files
in their cpp files to cope with system dependences
correctly. I don't find it very attractive but you
can't neglect it easily if you have to use the library.
Therefore the second mechanism is preferable.
Furthermore some distributions have several idl files
which have to be installed in seperate include
directories see Feature Request 817072.
Logged In: YES
user_id=665456
this could theoretically be done by the following dictionary
in your .confix profile dictionary. otoh, I'm quite
confident that there's some ugly bug that makes life hard.
'CONFIX': {
('\.hh$', BuildableHeaderCreator())
}
code pieces involved are:
buildable_mgr.BuildableManager.register_defaults_
buildable_h.BuildableHeaderCreator.{create_from_file,is_valid_ext}
where the latter most likely makes the .confix thing hard.
that's something inherent to all buildable types, not only
C-Headers.