From 4a1e2897707e5ee505e3a3fb28dd532c827a6f39 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 11 Jan 2006 16:04:28 +0000 Subject: r12846: some fixes metze (This used to be commit bf6065b11fd84454f8bc881ff96fb1846a59405b) --- source4/lib/ldb/Makefile.in | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'source4/lib/ldb') diff --git a/source4/lib/ldb/Makefile.in b/source4/lib/ldb/Makefile.in index bde2388b82..fb73f10c50 100644 --- a/source4/lib/ldb/Makefile.in +++ b/source4/lib/ldb/Makefile.in @@ -73,7 +73,9 @@ LIBS = $(LDB_LIB)($(OBJS)) DIRS = lib bin -all: $(DIRS) $(BINS) $(LIBS) manpages +MANPAGES = $(patsubst %.xml,%,$(wildcard man/*.xml)) + +all: $(DIRS) $(BINS) $(LIBS) $(EXAMPLES) $(MANPAGES) .c.o: @echo Compiling $*.c @@ -111,7 +113,7 @@ bin/ldbtest: tools/ldbtest.o tools/cmdline.o $(LIBS) bin/oLschema2ldif: tools/oLschema2ldif.o tools/cmdline.o $(LIBS) $(CC) -o bin/oLschema2ldif tools/oLschema2ldif.o tools/cmdline.o $(LIB_FLAGS) -.SUFFIXES: .1 .2 .3 .yo +.SUFFIXES: .1 .1.xml .3 .3.xml .xml .html %.3: %.3.xml test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< @@ -125,13 +127,17 @@ bin/oLschema2ldif: tools/oLschema2ldif.o tools/cmdline.o $(LIBS) manpages: $(patsubst %.xml,%,$(wildcard man/*.xml)) clean: - rm -f */*.o *.gcov */*.gc?? *~ */*~ man/man?/*.[13] tdbtest.ldb* \ - $(BINS) $(TDB_OBJ) $(TALLOC_OBJ) $(LDB_LIB) + rm -f */*.o *.gcov */*.gc?? tdbtest.ldb* \ + rm -f $(BINS) $(TDB_OBJ) $(TALLOC_OBJ) $(LDB_LIB) + rm -f $(MANPAGES) -distclean: clean +distclean: clean + rm -f *~ */*~ rm -rf autom4te.cache bin lib - rm -f configure config.log config.status ldb.pc \ - Makefile.ldb include/config.h include/config.h.in + rm -f configure \ + config.log config.status \ + include/config.h include/config.h.in \ + rm -f ldb.pc rm -f Makefile etags: -- cgit