Remove unused authors.c/authors.h and generation mechanism.
Signed-off-by: Michael Adam <obnox@samba.org>
This commit is contained in:
parent
56f30a4386
commit
a5e6d343d7
@ -26,7 +26,6 @@ AM_CPPFLAGS = \
|
|||||||
tinyproxy_SOURCES = \
|
tinyproxy_SOURCES = \
|
||||||
acl.c acl.h \
|
acl.c acl.h \
|
||||||
anonymous.c anonymous.h \
|
anonymous.c anonymous.h \
|
||||||
authors.c authors.h \
|
|
||||||
buffer.c buffer.h \
|
buffer.c buffer.h \
|
||||||
child.c child.h \
|
child.c child.h \
|
||||||
common.h \
|
common.h \
|
||||||
@ -56,16 +55,3 @@ EXTRA_tinyproxy_SOURCES = filter.c filter.h \
|
|||||||
transparent-proxy.c transparent-proxy.h
|
transparent-proxy.c transparent-proxy.h
|
||||||
tinyproxy_DEPENDENCIES = @ADDITIONAL_OBJECTS@
|
tinyproxy_DEPENDENCIES = @ADDITIONAL_OBJECTS@
|
||||||
tinyproxy_LDADD = @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
|
|
||||||
|
@ -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;
|
|
||||||
}
|
|
@ -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__ */
|
|
@ -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>
|
|
Loading…
Reference in New Issue
Block a user