From 4c0b0b872a735f45b05d647423024a4685080ad9 Mon Sep 17 00:00:00 2001
From: linus <linus>
Date: Mon, 22 Mar 2010 15:06:14 +0000
Subject: Build radsecproxy.conf.5 (target 'man'). Remove the same file (target
 'clean'). Use EXTRA_DIST for all extra going into distribution.

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@524 e88ac4ed-0b26-0410-9574-a7f39faa03bf
---
 Makefile.am | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 0efbf2f..206e3c6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -44,5 +44,12 @@ radsecproxy_LDADD   = @SSL_LIBS@
 catgconf_CFLAGS     = -g @TARGET_CFLAGS@
 catgconf_LDFLAGS    = @TARGET_LDFLAGS@
 
-dist_sysconf_DATA   = $(srcdir)/radsecproxy.conf-example
-dist_man_MANS       = radsecproxy.1 radsecproxy.conf.5
+EXTRA_DIST = radsecproxy.conf-example \
+		radsecproxy.1 \
+		radsecproxy.conf.5.xml
+
+man: $(srcdir)/radsecproxy.conf.5.xml
+	docbook2x-man $<
+
+clean-local:
+	-rm radsecproxy.conf.5
-- 
cgit v1.1