summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2018-09-01 02:07:39 +0200
committerMichael Adam <obnox@samba.org>2018-09-01 04:06:59 +0200
commita5e6d343d78462f9233015af9b7b0a1911d5e6db (patch)
treec3599f33806e372e15ef242f51e8e66704b3cd09 /src
parent56f30a438643ec3ec82d1ade7d8bed394120c0df (diff)
Remove unused authors.c/authors.h and generation mechanism.
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am14
-rw-r--r--src/authors.c50
-rw-r--r--src/authors.h30
-rw-r--r--src/authors.xsl64
4 files changed, 0 insertions, 158 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 18b4715..af2f621 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -26,7 +26,6 @@ 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 \
@@ -56,16 +55,3 @@ 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
diff --git a/src/authors.c b/src/authors.c
deleted file mode 100644
index 496df93..0000000
--- a/src/authors.c
+++ /dev/null
@@ -1,50 +0,0 @@
-
-/* NOTE: This file is auto-generated from authors.xml, do not edit it. */
-
-#include "authors.h"
-
-static const char * const authors[] =
-{
- "Andrew Stribblehill",
- "Chris Lightfoot",
- "Daniel Egger",
- "David Shanks",
- "Dmitry Semyonov",
- "George Talusan",
- "James E. Flemer",
- "Jeremy Hinegardner",
- "John van der Kamp",
- "Jordi Mallach",
- "Kim Holviala",
- "Mathew Mrosko",
- "Matthew Dempsky",
- "Michael Adam",
- "Moritz Muehlenhoff",
- "Mukund Sivaraman",
- "Petr Lampa",
- "Robert James Kaes",
- "Steven Young",
- NULL
-};
-
-static const char * const documenters[] =
-{
- "Marc Silver",
- "Michael Adam",
- "Mukund Sivaraman",
- "Robert James Kaes",
- "Steven Young",
- NULL
-};
-
-const char * const *
-authors_get_authors (void)
-{
- return authors;
-}
-
-const char * const *
-authors_get_documenters (void)
-{
- return documenters;
-}
diff --git a/src/authors.h b/src/authors.h
deleted file mode 100644
index 10e5110..0000000
--- a/src/authors.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/* tinyproxy - A fast light-weight HTTP proxy
- * Copyright (C) 2010 Mukund Sivaraman <muks@banu.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#ifndef __AUTHORS_H__
-#define __AUTHORS_H__
-
-#include "common.h"
-
-const char * const *
-authors_get_authors (void);
-
-const char * const *
-authors_get_documenters (void);
-
-#endif /* __AUTHORS_H__ */
diff --git a/src/authors.xsl b/src/authors.xsl
deleted file mode 100644
index 1388b9a..0000000
--- a/src/authors.xsl
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-
- Simple XSL transformation to create a header file from
- authors.xml. This file was adapted from GIMP.
-
--->
-
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:dc="http://purl.org/dc/elements/1.1/">
-
- <xsl:output method="text" />
-
- <xsl:template name="recent-contributor">
- <xsl:param name="role" />
- <xsl:apply-templates select="dc:contributor[contains(@role, $role)]" />
- </xsl:template>
-
- <xsl:template match="/dc:authors">
-<xsl:text>
-/* NOTE: This file is auto-generated from authors.xml, do not edit it. */
-
-#include "authors.h"
-
-static const char * const authors[] =
-{
-</xsl:text>
- <xsl:call-template name="recent-contributor">
- <xsl:with-param name="role" select="'author'"/>
- </xsl:call-template>
-<xsl:text> NULL
-};
-</xsl:text>
-
-<xsl:text>
-static const char * const documenters[] =
-{
-</xsl:text>
- <xsl:call-template name="recent-contributor">
- <xsl:with-param name="role" select="'documenter'"/>
- </xsl:call-template>
-<xsl:text> NULL
-};
-
-const char * const *
-authors_get_authors (void)
-{
- return authors;
-}
-
-const char * const *
-authors_get_documenters (void)
-{
- return documenters;
-}
-</xsl:text>
- </xsl:template>
-
- <xsl:template match="dc:contributor"> "<xsl:apply-templates />",
-</xsl:template>
-
-</xsl:stylesheet>