Please, PLEASE, remove the BASEDIR from Makefile

Andrej Borsenkow borsenkow.msk at sni.de
Tue Nov 17 09:09:00 GMT 1998


SAMBA Makefile.in is still using BASEDIR:

prefix=@prefix@
BASEDIR=$(prefix)/samba
BINDIR=$(BASEDIR)/bin
  ...

PLEASE, don't do it!!! With autoconf you have exactly needed
parameters --bindir, --sbindir, etc
It is possible to default them to whatever directories you like. Curently
configure from SAMBA silently lies:

./configure --help

  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [same as prefix]
  --bindir=DIR            user executables in DIR [EPREFIX/bin]


where's bindir is actually set to $Pprefix)/samba, without *any* way to
change it without editing Makefile.

/andrej



More information about the samba-technical mailing list