summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/Makefile.in7
-rwxr-xr-xsource4/lib/ldb/standalone.sh7
2 files changed, 10 insertions, 4 deletions
diff --git a/source4/lib/ldb/Makefile.in b/source4/lib/ldb/Makefile.in
index c90f41afd7..b46fd73791 100644
--- a/source4/lib/ldb/Makefile.in
+++ b/source4/lib/ldb/Makefile.in
@@ -57,7 +57,12 @@ EXAMPLES = examples/ldbreader examples/ldifreader
DIRS = lib bin common ldb_tdb ldb_ldap ldb_sqlite3 modules tools examples
-all: showflags dirs $(OBJS) $(LDB_LIB) $(BINS) $(EXAMPLES) manpages $(NSS_LIB)
+nss: nssdir $(NSS_LIB)
+
+nssdir:
+ @mkdir -p $(NSSDIR)
+
+all: showflags dirs $(OBJS) $(LDB_LIB) $(BINS) $(EXAMPLES) manpages
showflags:
@echo 'ldb will be compiled with flags:'
diff --git a/source4/lib/ldb/standalone.sh b/source4/lib/ldb/standalone.sh
index 4a085688c2..1c5d5f7e4f 100755
--- a/source4/lib/ldb/standalone.sh
+++ b/source4/lib/ldb/standalone.sh
@@ -14,8 +14,9 @@ make clean
./autogen.sh
-mkdir build
-cd build
+mkdir -p build
+cd build
../configure
-make
+make dirs
+make all