problem with source3/script/installman.sh in master
Richard Sharpe
realrichardsharpe at gmail.com
Fri Aug 12 12:34:32 MDT 2011
Hi,
So, I am trying to build an RPM from master.
There is a problem with source3/script/installman.sh.
It does this:
MANDIR=`echo $1 | sed 's/\/\//\//g'`
SRCDIR=$2/
langs=$3
...
# Get the configured feature set
test -f "${SRCDIR}/config.log" && \
eval `grep "^[[:alnum:]]*=.*" "${SRCDIR}/config.log"`
This last step pulls in variables from config.log, like
MANDIR=/usr/share/man, which overrides what was passed in on the
command line.
Thus the Makefile/installman.sh is broken for people building RPMs.
This did not matter in 3.5.x and before because it seems that
configure did not set MANDIR and so it did not override what was
passed into installman.sh.
--
Regards,
Richard Sharpe
More information about the samba-technical
mailing list