summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2010-01-18 19:05:31 +0530
committerMukund Sivaraman <muks@banu.com>2010-01-18 19:05:31 +0530
commitedea7e37d08e3045f4e7932ed74e09b5b8dc5c5c (patch)
tree99bb68e4527f015b8834dce40e604bba4c9e8049 /src/Makefile.am
parentf3fe3d8e79a9962aa7cd28d0e80f4991c4ab7cad (diff)
Show authors and documenters when license is requested
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 0b6d45d..8358ef1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -24,6 +24,7 @@ AM_CPPFLAGS = \
tinyproxy_SOURCES = \
acl.c acl.h \
anonymous.c anonymous.h \
+ authors.c authors.h \
buffer.c buffer.h \
child.c child.h \
common.h \
@@ -51,3 +52,16 @@ EXTRA_tinyproxy_SOURCES = filter.c filter.h \
transparent-proxy.c transparent-proxy.h
tinyproxy_DEPENDENCIES = @ADDITIONAL_OBJECTS@
tinyproxy_LDADD = @ADDITIONAL_OBJECTS@
+
+EXTRA_DIST = \
+ authors.xsl
+
+authors.c: $(top_srcdir)/authors.xml $(srcdir)/authors.xsl
+if HAVE_XSLTPROC
+ $(AM_V_GEN) $(XSLTPROC) $(srcdir)/authors.xsl $< > $(@) || rm -f $(@)
+else
+ @echo "*** xsltproc is required to regenerate $(@) ***"; exit 1;
+endif
+
+BUILT_SOURCES = \
+ authors.c