Remove xml-based AUTHORS mechanism. AUTHORS is checked in.

Signed-off-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Michael Adam 2018-09-01 02:25:50 +02:00
parent a5e6d343d7
commit 3eb3c2c099
4 changed files with 1 additions and 124 deletions

View File

@ -9,22 +9,7 @@ SUBDIRS = \
# tools want this on a single line
ACLOCAL_AMFLAGS = -I m4macros
AUTHORS: authors.xml authors.xsl
if HAVE_XSLTPROC
$(AM_V_GEN) $(XSLTPROC) authors.xsl $< > $(@) || rm -f $(@)
else
@echo "*** xsltproc is required to regenerate $(@) ***"; exit 1;
endif
validate-authors:
if HAVE_XMLLINT
@$(XMLLINT) --noout --path $(srcdir) --valid authors.xml || \
( echo "*** authors.xml IS INVALID ***"; exit 1; )
endif
all-local: AUTHORS
check-local: validate-authors
all-local:
dist_doc_DATA = \
AUTHORS \
@ -33,9 +18,6 @@ dist_doc_DATA = \
README.md
EXTRA_DIST = \
authors.dtd \
authors.xml \
authors.xsl \
autogen.sh \
tinyproxy-indent.sh \
TODO

View File

@ -1,12 +0,0 @@
<!--
Simple DTD for Tinyproxy authors. This file was adapted from GIMP.
-->
<!ELEMENT authors (contributor+)>
<!ATTLIST authors xmlns CDATA #FIXED "http://purl.org/dc/elements/1.1/">
<!ELEMENT contributor (#PCDATA)>
<!ATTLIST contributor role CDATA #REQUIRED>
<!ATTLIST contributor last-active CDATA #REQUIRED>

View File

@ -1,36 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE authors SYSTEM "authors.dtd">
<!--
This file is supposed to list all authors and contributors. It's in
XML format so that it can easily be used in source code. When
changing this file, please keep the alphabetical order. This file
was adapted from GIMP.
-->
<authors xmlns="http://purl.org/dc/elements/1.1/">
<contributor role="author" last-active="1.7">Andrew Stribblehill</contributor>
<contributor role="author" last-active="1.6">Chris Lightfoot</contributor>
<contributor role="author" last-active="1.8">Daniel Egger</contributor>
<contributor role="author" last-active="1.8">David Shanks</contributor>
<contributor role="author" last-active="1.8">Dmitry Semyonov</contributor>
<contributor role="author" last-active="1.6">George Talusan</contributor>
<contributor role="author" last-active="1.6">James E. Flemer</contributor>
<contributor role="author" last-active="1.7">Jeremy Hinegardner</contributor>
<contributor role="author" last-active="1.8">John van der Kamp</contributor>
<contributor role="author" last-active="1.8">Jordi Mallach</contributor>
<contributor role="author" last-active="1.7">Kim Holviala</contributor>
<contributor role="documenter" last-active="1.7">Marc Silver</contributor>
<contributor role="author" last-active="1.8">Mathew Mrosko</contributor>
<contributor role="author" last-active="1.7">Matthew Dempsky</contributor>
<contributor role="author,documenter" last-active="1.8">Michael Adam</contributor>
<contributor role="author" last-active="1.8">Moritz Muehlenhoff</contributor>
<contributor role="author,documenter" last-active="1.8">Mukund Sivaraman</contributor>
<contributor role="author" last-active="1.6">Petr Lampa</contributor>
<contributor role="author,documenter" last-active="1.7">Robert James Kaes</contributor>
<contributor role="author,documenter" last-active="1.7">Steven Young</contributor>
</authors>

View File

@ -1,57 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Simple XSL transformation to create a text version AUTHORS 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="contributor">
<xsl:param name="role" />
<xsl:apply-templates select="dc:contributor[contains(@role, $role)]" />
</xsl:template>
<xsl:template match="/dc:authors">
<xsl:text>Tinyproxy AUTHORS
=================
////
This file is generated from authors.xml, do not edit it directly.
////
Coding
------
The following people have contributed code to Tinyproxy:
</xsl:text>
<xsl:call-template name="contributor">
<xsl:with-param name="role" select="'author'"/>
</xsl:call-template>
<xsl:text>
Documentation
-------------
The following people have helped to document Tinyproxy:
</xsl:text>
<xsl:call-template name="contributor">
<xsl:with-param name="role" select="'documenter'"/>
</xsl:call-template>
</xsl:template>
<xsl:template match="dc:contributor">
<xsl:text> * </xsl:text><xsl:apply-templates /><xsl:text>
</xsl:text>
</xsl:template>
</xsl:stylesheet>