(Hopefully) correct patch files for RedHat & TurboLinux.
[kai/samba.git] / packaging / PHT / TurboLinux / makefile-path.patch
1 --- samba-2.0.0/source/Makefile.in.orig Sat Aug 22 02:48:36 1998
2 +++ samba-2.0.0/source/Makefile.in  Fri Aug 21 22:19:32 1998
3 ***************
4 *** 22,32 ****
5   builddir=@builddir@
6   SHELL=/bin/sh
7   
8 ! BASEDIR=$(prefix)/samba
9   BINDIR = $(BASEDIR)/bin
10 ! SBINDIR = $(BASEDIR)/bin
11 ! LIBDIR = $(BASEDIR)/lib
12 ! VARDIR = $(BASEDIR)/var
13   MANDIR = $(BASEDIR)/man
14   
15   # The permissions to give the executables
16 --- 22,32 ----
17   builddir=@builddir@
18   SHELL=/bin/sh
19   
20 ! BASEDIR=/usr
21   BINDIR = $(BASEDIR)/bin
22 ! SBINDIR = $(BASEDIR)/sbin
23 ! LIBDIR = /etc
24 ! VARDIR = /var
25   MANDIR = $(BASEDIR)/man
26   
27   # The permissions to give the executables
28 ***************
29 *** 35,54 ****
30   # set these to where to find various files
31   # These can be overridden by command line switches (see smbd(8))
32   # or in smb.conf (see smb.conf(5))
33 ! SMBLOGFILE = $(VARDIR)/log.smb
34 ! NMBLOGFILE = $(VARDIR)/log.nmb
35   CONFIGFILE = $(LIBDIR)/smb.conf
36   LMHOSTSFILE = $(LIBDIR)/lmhosts
37   DRIVERFILE = $(LIBDIR)/printers.def
38   PASSWD_PROGRAM = /bin/passwd
39 ! SMB_PASSWD_FILE = $(BASEDIR)/private/smbpasswd
40   SMB_PASSWD_PROGRAM = $(BASEDIR)/bin/smbpasswd
41   
42   # This is where SWAT images and help files go
43 ! SWATDIR = $(BASEDIR)/swat
44   
45   # the directory where lock files go
46 ! LOCKDIR = $(VARDIR)/locks
47   
48   # The directory where code page definition files go
49   CODEPAGEDIR = $(LIBDIR)/codepages
50 --- 35,54 ----
51   # set these to where to find various files
52   # These can be overridden by command line switches (see smbd(8))
53   # or in smb.conf (see smb.conf(5))
54 ! SMBLOGFILE = $(VARDIR)/log/samba/log.smb
55 ! NMBLOGFILE = $(VARDIR)/log/samba/log.nmb
56   CONFIGFILE = $(LIBDIR)/smb.conf
57   LMHOSTSFILE = $(LIBDIR)/lmhosts
58   DRIVERFILE = $(LIBDIR)/printers.def
59   PASSWD_PROGRAM = /bin/passwd
60 ! SMB_PASSWD_FILE = $(LIBDIR)/smbpasswd
61   SMB_PASSWD_PROGRAM = $(BASEDIR)/bin/smbpasswd
62   
63   # This is where SWAT images and help files go
64 ! SWATDIR = $(BASEDIR)/share/swat
65   
66   # the directory where lock files go
67 ! LOCKDIR = $(VARDIR)/lock/samba
68   
69   # The directory where code page definition files go
70   CODEPAGEDIR = $(LIBDIR)/codepages