From 1e1a2e63064ec2750b3e606446262dce34e85d18 Mon Sep 17 00:00:00 2001 From: Charles Plessy Date: Fri, 21 Oct 2011 22:20:36 +0900 Subject: [PATCH] Publish copyright format specification version 1.0 (DEP 5) --- .gitignore | 1 + copyright-format.desc => copyright-format-1.0.desc | 8 ++++---- copyright-format/Makefile | 8 ++++---- ...copyright-format.xml => copyright-format-1.0.xml} | 2 +- debian/rules | 12 ++++++------ 5 files changed, 16 insertions(+), 15 deletions(-) rename copyright-format.desc => copyright-format-1.0.desc (57%) rename copyright-format/{copyright-format.xml => copyright-format-1.0.xml} (99%) diff --git a/.gitignore b/.gitignore index b07ee68..066934b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ /README.html /body.tmp /copyright-format/copyright-format.html +/copyright-format/copyright-format-1.0.html /debconf_spec/debconf_specification.html /debconf_spec/debconf_specification.txt.gz /head.tmp diff --git a/copyright-format.desc b/copyright-format-1.0.desc similarity index 57% rename from copyright-format.desc rename to copyright-format-1.0.desc index 724bc7b..8a3b214 100644 --- a/copyright-format.desc +++ b/copyright-format-1.0.desc @@ -1,4 +1,4 @@ -Document: copyright-format +Document: copyright-format-1.0 Title: Machine-readable debian/copyright file Author: The Debian Project Abstract: Standard, machine-readable format for debian/copyright files within @@ -7,8 +7,8 @@ Abstract: Standard, machine-readable format for debian/copyright files within Section: Debian Format: text -Files: /usr/share/doc/debian-policy/copyright-format.txt.gz +Files: /usr/share/doc/debian-policy/copyright-format-1.0.txt.gz Format: HTML -Index: /usr/share/doc/debian-policy/copyright-format.html -Files: /usr/share/doc/debian-policy/copyright-format.html +Index: /usr/share/doc/debian-policy/copyright-format-1.0.html +Files: /usr/share/doc/debian-policy/copyright-format-1.0.html diff --git a/copyright-format/Makefile b/copyright-format/Makefile index 27d8f5b..92ef4f3 100644 --- a/copyright-format/Makefile +++ b/copyright-format/Makefile @@ -1,14 +1,14 @@ -all: copyright-format.txt.gz copyright-format.html +all: copyright-format-1.0.txt.gz copyright-format-1.0.html -%.html: %.xml html.dsl +copyright-format-1.0.html: copyright-format-1.0.xml html.dsl jade -V nochunks -t sgml -d html.dsl \ /usr/share/xml/declaration/xml.dcl $< > $@ -tidy -q -i -m -f /dev/null $@ -%.txt: %.html +copyright-format-1.0.txt: copyright-format-1.0.html links -dump $< | perl -pe 's/[\r\0]//g' > $@ -%.txt.gz: %.txt +copyright-format-1.0.txt.gz: copyright-format-1.0.txt gzip -cf9 $< > $@ clean: diff --git a/copyright-format/copyright-format.xml b/copyright-format/copyright-format-1.0.xml similarity index 99% rename from copyright-format/copyright-format.xml rename to copyright-format/copyright-format-1.0.xml index 11afa1e..1da4c7e 100644 --- a/copyright-format/copyright-format.xml +++ b/copyright-format/copyright-format-1.0.xml @@ -5,7 +5,7 @@ -