summaryrefslogtreecommitdiffstats
path: root/source4/lib/talloc/Makefile.in
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-05-05 22:31:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:32 -0500
commit88f0a6e5e26e42fe80c0b907dabdcb16071aeff7 (patch)
treed86b18ae1092f173238ed412b791cb4af9140b70 /source4/lib/talloc/Makefile.in
parent6b68d5eb7b4fecc923dc1c0ab6f387c525f46b7c (diff)
downloadsamba-88f0a6e5e26e42fe80c0b907dabdcb16071aeff7.tar.gz
samba-88f0a6e5e26e42fe80c0b907dabdcb16071aeff7.tar.xz
samba-88f0a6e5e26e42fe80c0b907dabdcb16071aeff7.zip
r6622: Add talloc manpage in DocBook XML, based on SGML version by Garry Williams
(This used to be commit 62550eac1e56e95c8080a0519579fd97ee5d465a)
Diffstat (limited to 'source4/lib/talloc/Makefile.in')
-rw-r--r--source4/lib/talloc/Makefile.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/source4/lib/talloc/Makefile.in b/source4/lib/talloc/Makefile.in
index a3dd3f3e0b..f3fdf5f01c 100644
--- a/source4/lib/talloc/Makefile.in
+++ b/source4/lib/talloc/Makefile.in
@@ -5,6 +5,8 @@ prefix = @prefix@
exec_prefix = @exec_prefix@
includedir = @includedir@
libdir = @libdir@
+mandir = @mandir@
+XSLTPROC = @XSLTPROC@
CFLAGS = $(OPT) -Wall
@@ -17,10 +19,19 @@ testsuite: $(LIBOBJ) testsuite.o
libtalloc.a: libtalloc.a($(LIBOBJ))
-install:
+install: all doc
cp libtalloc.a $(libdir)
cp talloc.h $(includedir)
cp talloc.pc $(libdir)/pkgconfig
+ cp talloc.3 $(mandir)/man3
+
+doc: talloc.3
+
+%.3: %.3.xml
+ $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+
+%.html: %.xml
+ $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $<
clean:
rm -f *~ *.o testsuite *.gc??