Makefile.am 877 Bytes
Newer Older
Jeremy C. Reed's avatar
Jeremy C. Reed committed
1
sbin_SCRIPTS = b10-cmdctl-usermgr
2

3
b10_cmdctl_usermgrdir = $(pkgdatadir)
4 5 6

CLEANFILES=	b10-cmdctl-usermgr

7
man_MANS = b10-cmdctl-usermgr.8
8
DISTCLEANFILES = $(man_MANS)
9 10
EXTRA_DIST = $(man_MANS) b10-cmdctl-usermgr.xml

11
if GENERATE_DOCS
12

13
b10-cmdctl-usermgr.8: b10-cmdctl-usermgr.xml
14
	@XSLTPROC@ --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-cmdctl-usermgr.xml
15

16 17 18
else

$(man_MANS):
19 20
	@echo Man generation disabled.  Creating dummy $@.  Configure with --enable-generate-docs to enable it.
	@echo Man generation disabled.  Remove this file, configure with --enable-generate-docs, and rebuild BIND 10 > $@
21

22 23
endif

24 25 26 27
# this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
b10-cmdctl-usermgr: b10-cmdctl-usermgr.py
	$(SED) "s|@@PYTHONPATH@@|@pyexecdir@|" b10-cmdctl-usermgr.py >$@
	chmod a+x $@