diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-05-30 15:59:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:18 -0500 |
commit | 1863240bbc6dbd7b0b0832504a9c30573b44ddf6 (patch) | |
tree | 1daa0c8bd180b4f8202465667dc71af5c43fc39b /source4/lib/ldb/Makefile.in | |
parent | dde05bc78735a111e814ab5ece9e79af4555153b (diff) | |
download | samba-1863240bbc6dbd7b0b0832504a9c30573b44ddf6.tar.gz samba-1863240bbc6dbd7b0b0832504a9c30573b44ddf6.tar.bz2 samba-1863240bbc6dbd7b0b0832504a9c30573b44ddf6.zip |
r7114: Convert ldb documentation to DocBook/XML
(This used to be commit 470c6185fb815983aebffd313361ec0fac723fd0)
Diffstat (limited to 'source4/lib/ldb/Makefile.in')
-rw-r--r-- | source4/lib/ldb/Makefile.in | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/source4/lib/ldb/Makefile.in b/source4/lib/ldb/Makefile.in index e7bde04658..4d93edb884 100644 --- a/source4/lib/ldb/Makefile.in +++ b/source4/lib/ldb/Makefile.in @@ -1,6 +1,6 @@ CC = @CC@ GCOV = @GCOV@ -YODL2MAN = @YODL2MAN@ +XSLTPROC = @XSLTPROC@ prefix = @prefix@ exec_prefix = @exec_prefix@ includedir = @includedir@ @@ -90,11 +90,16 @@ bin/ldbtest: tools/ldbtest.o $(LIBS) .SUFFIXES: .1 .2 .3 .yo -.yo.3: - echo Creating $@ from $< - -$(YODL2MAN) -o $@ `dirname $<`/`basename $< .yo` || rm -f $@ +%.3: %.3.xml + test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< -manpages: $(patsubst %.yo,%.3,$(wildcard man/man3/*.yo)) +%.1: %.1.xml + test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< + +%.html: %.xml + test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $< + +manpages: $(patsubst %.xml,%,$(wildcard man/*/*.xml)) clean: rm -f */*.o *.gcov */*.gc?? *~ */*~ $(BINS) $(TDB_OBJ) $(TALLOC_OBJ) $(LDB_LIB) man/man?/*.[13] |