|
From: Joerg F. <jf...@sa...> - 2004-04-28 16:08:47
|
> I'm trying to build this for packaging with RPM (so I can get others to > try ccmtools, if it looks promising). Currently I have to sed most of > the Makefiles to patch the repo location not to install into /usr (BTW, > what is the repo for?), see below. Is there an easier way to build > cpp-environment in an intermediate location for later > installation via RPM? Why don't you give the prefix you want? Like so, confix.py '--prefix=/home/drs/dev/ccmtools/cpp-environment/root' '--buildroot=/home/drs/dev/ccmtools/cpp-environment' --bootstrap --configure --make --targets=install I believe the $(prefix) macro in the Makefiles is somewhat private anyway, in a sense that it should not be overridden by the user. Or am I missing something (I guess so)? I've never built RPMs. BTW, the repo directory contains "module descriptions" of the modules you have built. When you are using confix to build a package that uses the installed modules, confix uses these descriptions when building a dependency graph and generating build instructions. You can view the repo files using print_module.py <filename>. (print_module.py is a script that comes with confix.) Cheers, Joerg |