summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2010-06-12 00:44:29 +0200
committerLinus Nordberg <linus@nordu.net>2010-06-12 00:44:29 +0200
commitf805392012ce1932243bf2c33f8b745fec09f488 (patch)
tree165d2b3b9dc224587e15ee10c6262e52b99e7168 /Makefile.am
parent5739cce08d7880f0dc2e7b01d514a8e5a5f31b8a (diff)
* configure.ac: Check for docbook2x-man.
* Makefile.am: Build radsecproxy.conf.5 only if docbook2x-man exists.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index c7d3f49..098f9bd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -44,10 +44,14 @@ radsecproxy_LDADD = @SSL_LIBS@
catgconf_CFLAGS = -g -Wall -fno-strict-aliasing @TARGET_CFLAGS@
catgconf_LDFLAGS = @TARGET_LDFLAGS@
-dist_man_MANS = radsecproxy.1 radsecproxy.conf.5
+dist_man_MANS = radsecproxy.1 $(GENMANPAGES)
EXTRA_DIST = LICENSE radsecproxy.conf-example radsecproxy.conf.5.xml \
tools/naptr-eduroam.sh tools/radsec-dynsrv.sh tools/README
+if HAVE_DOCBOOK2X_MAN
+GENMANPAGES = radsecproxy.conf.5
+endif
+
radsecproxy.conf.5: $(srcdir)/radsecproxy.conf.5.xml
docbook2x-man $<