Author: Juha Saarinen Date: To: exim-users Subject: [Exim] merge_conf.pl?
Trying to hack Nigel Metheringham's SPEC file for Exim 4.04 so that I can
build 4.10 RPM packages.
There's one file missing though, merge_conf.pl, which seems to be used to
create the actual Makefile.
%build
# we build several versions here...
mkdir bins
versions="perl ldap base"
for version in $versions
do
# The contortions we go through to defeat this
# build system are horrid... however this at
# least makes the human edited parts minimal
(cd Local;
perl merge_conf.pl exim-$version.m4 )>Local/Makefile
make CFLAGS="$RPM_OPT_FLAGS"
cp build-`scripts/os-type`-`scripts/arch-type`/exim bins/exim-$version
done