summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-08-01 05:55:01 +0000
committerTim Potter <tpot@samba.org>2001-08-01 05:55:01 +0000
commit2affa66ac000c4a73276bfd87ae29c5345a26e06 (patch)
tree9eb2dab2179c3d446f5459c922ca977966155868
parenta3046affa0d6138b3240616821c220d469778d2d (diff)
downloadsamba-2affa66ac000c4a73276bfd87ae29c5345a26e06.tar.gz
samba-2affa66ac000c4a73276bfd87ae29c5345a26e06.tar.bz2
samba-2affa66ac000c4a73276bfd87ae29c5345a26e06.zip
Tweaked the installdirs target to ignore errors. This allows RPMS to be
built as non-root user, assuming you have permissions set up properly in your /usr/src/redhat directory. Added nsswitch sub-target to all target. (This used to be commit 109840bb3abd75370e8ec14bf08bae35d04bcdaf)
-rw-r--r--source3/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index c28583928a..ac3c301b5f 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -401,7 +401,7 @@ WINBIND_NSS_PICOBJS = $(WINBIND_NSS_OBJ:.o=.po)
######################################################################
# now the rules...
######################################################################
-all : CHECK include/proto.h $(SPROGS) $(PROGS) $(SHLIBS)
+all : CHECK include/proto.h $(SPROGS) $(PROGS) $(SHLIBS) nsswitch
pam_smbpass : CHECK bin/pam_smbpass.@SHLIBEXT@
@@ -641,7 +641,7 @@ bin/pam_smbpass.@SHLIBEXT@: $(PAM_SMBPASS_PICOOBJ)
install: installbin installman installscripts installswat
installdirs:
- $(SHELL) $(srcdir)/install-sh -d -m $(INSTALLPERMS) \
+ -$(SHELL) $(srcdir)/install-sh -d -m $(INSTALLPERMS) \
$(BASEDIR) $(SBINDIR) $(BINDIR) $(LIBDIR) $(VARDIR)
installservers: all installdirs