1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00
samba-mirror/ctdb/doc/Makefile
Amitay Isaacs 43b25d1948 build: Extract building of manpages in a separate Makefile
This can then be used to build manpages/html when creating tarball.
Do not build docs during a regular build, but only for install.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>

(This used to be ctdb commit 3274cffe2052953b34141a82de6053b747532a88)
2012-10-22 18:15:17 +11:00

17 lines
390 B
Makefile

DOCS = ctdb.1 ctdb.1.html \
ctdbd.1 ctdbd.1.html \
onnode.1 onnode.1.html \
ltdbtool.1 ltdbtool.1.html \
ping_pong.1 ping_pong.1.html
all: $(DOCS)
%.1: %.1.xml
xsltproc -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
%.1.html: %.1.xml
xsltproc -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $<
distclean:
rm -f $(DOCS)