On Mon, 2008-11-03 at 12:18 +1100, Paul Wankadia wrote:
> ...
> make[1]: Entering directory `/home/junyer/autofs/samples'
> install -d -m 755 /etc
> install -d -m 755
> install: missing file operand
> Try `install --help' for more information.
> make[1]: *** [dirs] Error 1
> make[1]: Leaving directory `/home/junyer/autofs/samples'
> ...
> 
> samples/Makefile:
> 
>     19  .PHONY: dirs
>     20  dirs:
>     21          install -d -m 755 $(INSTALLROOT)$(autofsmapdir)
>     22          install -d -m 755 $(INSTALLROOT)$(autofsconfdir)
>     23          install -d -m 755 $(INSTALLROOT)$(autofslibdir)
>     24          install -d -m 755 $(INSTALLROOT)/var/run/autofs
> 
> Makefile.conf:
> 
>     68  # Location for configuration init script
>     69  autofsconfdir =
> 
> autofsconfdir should have a sane default?

Yeah, but there's an assumption that at least one of the directories
that is checked will exist on any system, which is obviously wrong. I
could add /etc to the end of the list but, really what we need is a list
of appropriate directories for various distributions, so if I do that
I'll never find out what they are.

What distribution are you using?

Ian

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to