r791: added ldb man page build to ldb makefile
authorAndrew Tridgell <tridge@samba.org>
Thu, 20 May 2004 13:21:30 +0000 (13:21 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:53:50 +0000 (12:53 -0500)
(This used to be commit ec38392888d20991abe18dd3e6ca226a62c7d4ae)

source4/lib/ldb/Makefile.ldb

index 1623b74f6c60a0ef07a30a268af4e21a915113f4..392407a46e2abaaef2ca4650685e17e8209a417f 100644 (file)
@@ -35,7 +35,7 @@ LIBS = $(LDB_LIB)($(OBJS))
 
 DIRS = lib bin
 
-all: $(DIRS) $(BINS) $(LIBS)
+all: $(DIRS) $(BINS) $(LIBS) manpages
 
 lib:
        mkdir -p lib
@@ -63,8 +63,11 @@ bin/ldbedit: tools/ldbedit.o $(LIBS)
 bin/ldbtest: tools/ldbtest.o $(LIBS)
        $(CC) -o bin/ldbtest tools/ldbtest.o $(LIB_FLAGS)
 
+manpages:
+       man/build_manpages.sh
+
 clean:
-       rm -f */*.o *~ */*~ $(BINS) $(LDB_LIB)
+       rm -f */*.o *~ */*~ $(BINS) $(LDB_LIB) man/man?/*.[13]
 
 proto:
        mkproto.pl */*.c > include/proto.h