[distcc] Request: Makefile Rule to Create Masquerade Directory
Daniel Kegel
dank at kegel.com
Wed Aug 4 20:19:17 GMT 2004
ms419 at freezone.co.uk wrote:
> 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.
I have my own patch for this, too, kind of, but it's not quite ready
for prime time yet. I can give anyone interested the URL.
- Dan
More information about the distcc
mailing list