summaryrefslogtreecommitdiff
path: root/src/bin/shell/Makefile.am
blob: 29bae0f71ea991fc0bd9490f328b1c39a1b9e3ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SUBDIRS = . tests

pkgpython_PYTHON = kea_conn.py kea_connector2.py kea_connector3.py

sbin_SCRIPTS = kea-shell

CLEANFILES = *.pyc

man_MANS = kea-shell.8
DISTCLEANFILES = $(sbin_SCRIPTS) $(man_MANS)
EXTRA_DIST = $(man_MANS) kea-shell.xml

if GENERATE_DOCS
kea-shell.8: kea-shell.xml
	@XSLTPROC@ --novalid --xinclude --nonet -o $@ \
        http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \
	$(srcdir)/kea-shell.xml

else

$(man_MANS):
	@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 Kea > $@

endif

CLEANDIRS = __pycache__

clean-local:
	rm -rf $(CLEANDIRS)