right now the Makefile says
CONFIGFILE = $(LIBDIR)/smb.conf

libdir is set by
the ./configure script 
and is suggested to be 
/usr/lib or /usr/local/lib

I want my smb.conf in /etc/samba (or at least /etc) not /usr or
/usr/local

there is a configure parameter "sysconfdir" that replaces
@sysconfdir@ in the makefile  but @sysconfdir@ does not exist in the
make file so it's a useless parameter.

I think maybe configure should be run with
--sysconfdir=/etc or  --sysconfdir=/etc/samba

which should set up the make file to put smb.conf and friends there
here is a patch to do that

diff -r1.471 Makefile.in
46a47
> CONFDIR = @sysconfdir@
55,57c56,58
< CONFIGFILE = $(LIBDIR)/smb.conf
< LMHOSTSFILE = $(LIBDIR)/lmhosts
< DRIVERFILE = $(LIBDIR)/printers.def
---
> CONFIGFILE = $(CONFDIR)/smb.conf
> LMHOSTSFILE = $(CONFDIR)/lmhosts
> DRIVERFILE = $(CONFDIR)/printers.def




Reply via email to