[distcc] Request: Makefile Rule to Create Masquerade Directory
ms419 at freezone.co.uk
ms419 at freezone.co.uk
Wed Aug 4 18:24:23 GMT 2004
Could distcc installation include creating the masquerade directory,
please?
I'm using the Debian distcc 2.16-1 package. The distcc documentation
recommends creating a masquerade directory in /usr/lib/distcc/bin. This
directory is pretty important; I'd like to count on it wherever distcc
is installed. Could the distcc Makefile please include a rule to create
this directory?
The ccache install rule contains the following, to automatically create
a masquerade directory:
<snip>
[ -d ${libdir}/ccache ] || mkdir -p ${libdir}/ccache
ln -sf ../../bin/ccache ${libdir}/ccache/cc
ln -sf ../../bin/ccache ${libdir}/ccache/gcc
ln -sf ../../bin/ccache ${libdir}/ccache/c++
ln -sf ../../bin/ccache ${libdir}/ccache/g++
set -e; for ver in 2.95 3.0 3.2 3.3; do \
ln -sf ../../bin/ccache ${libdir}/ccache/gcc-$$ver; \
ln -sf ../../bin/ccache ${libdir}/ccache/g++-$$ver; \
done
</snip>
I prepared a patch for the distcc Makefile, but the style of the
Makefile is very sophisticated. The style of my patch isn't harmonious.
Regards,
Jack
More information about the distcc
mailing list