From 70da14f025cae27395b85ff341e9c2a13cd24713 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 22 Aug 2006 04:27:13 +0000 Subject: r17693: only install man pages if we have managed to generate them with xsltproc (This used to be commit 3e48177dd138d835766cba304d266fd30a87ebef) --- source4/lib/ldb/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4') diff --git a/source4/lib/ldb/Makefile.in b/source4/lib/ldb/Makefile.in index 1e19e9bd49..7107b87daf 100644 --- a/source4/lib/ldb/Makefile.in +++ b/source4/lib/ldb/Makefile.in @@ -200,8 +200,8 @@ install: all cp $(LDB_LIB) $(libdir) cp $(BINS) $(bindir) cp ldb.pc $(libdir)/pkgconfig - cp $(filter %.1, $(MANPAGES)) $(mandir)/man1 - cp $(filter %.3, $(MANPAGES)) $(mandir)/man3 + test -z "$(XSLTPROC)" || cp $(filter %.1, $(MANPAGES)) $(mandir)/man1 + test -z "$(XSLTPROC)" || cp $(filter %.3, $(MANPAGES)) $(mandir)/man3 gcov: $(GCOV) -po ldb_sqlite3 $(srcdir)/ldb_sqlite3/*.c 2| tee ldb_sqlite3.report.gcov -- cgit