[xml/sgml-commit] r1009 - in /packages/html-xml-utils/trunk/debian: README.Debian changelog control copyright man/ man/w3c_extract.1 man/w3c_printlinks.1 man/w3c_uncdata.1 man/w3c_xselect.1 patches/ patches/00list patches/fix_manpage_issues.dpatch rules
dleidert-guest at users.alioth.debian.org
dleidert-guest at users.alioth.debian.org
Sun Feb 10 23:48:01 UTC 2008
Author: dleidert-guest
Date: Sun Feb 10 23:48:00 2008
New Revision: 1009
URL: http://svn.debian.org/wsvn/debian-xml-sgml/?sc=1&rev=1009
Log:
* debian/control:
(Maintainer): Set the debian-xml-sgml team as maintainer and move myself to Uploaders.
(Build-Depends): Added dpatch.
(Depends): Added ${perl:Depends} for perl scripts shipped with the package.
(Description): Improved wording and prefixed all files with `w3c_'.
* debian/copyright: It's not BSD. Added the W3C(R) Software License.
* debian/man/w3c_extract.1: Added for Debian.
* debian/man/w3c_printlinks.1: Ditto.
* debian/man/w3c_uncdata.1: Ditto.
* debian/man/w3c_xselect.1: Ditto.
* debian/rules: Added dpatch environment. Added CFLAGS determination.
(config.status): Added --program-prefix=w3c_ to rename all applications
(see #464957).
(clean): Fixed distclean target handling accordingly to latest policy.
(install): Added function to adjust all command names in manpages
accordingly to our renaming.
(binary-arch): Install newly written manpages. Call dh_desktop. Removed some
useless debhelper calls.
* debian/README.Debian: Added to inform users about renaming.
* debian/patches/fix_manpage_issues.dpatch: Added.
- Fixes various manpage issues and manpage related lintian warnings.
* debian/patches/00list: Added.
Added:
packages/html-xml-utils/trunk/debian/README.Debian
packages/html-xml-utils/trunk/debian/man/
packages/html-xml-utils/trunk/debian/man/w3c_extract.1
packages/html-xml-utils/trunk/debian/man/w3c_printlinks.1
packages/html-xml-utils/trunk/debian/man/w3c_uncdata.1
packages/html-xml-utils/trunk/debian/man/w3c_xselect.1
packages/html-xml-utils/trunk/debian/patches/
packages/html-xml-utils/trunk/debian/patches/00list
packages/html-xml-utils/trunk/debian/patches/fix_manpage_issues.dpatch (with props)
Modified:
packages/html-xml-utils/trunk/debian/changelog
packages/html-xml-utils/trunk/debian/control
packages/html-xml-utils/trunk/debian/copyright
packages/html-xml-utils/trunk/debian/rules
Added: packages/html-xml-utils/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/html-xml-utils/trunk/debian/README.Debian?rev=1009&op=file
==============================================================================
--- packages/html-xml-utils/trunk/debian/README.Debian (added)
+++ packages/html-xml-utils/trunk/debian/README.Debian Sun Feb 10 23:48:00 2008
@@ -1,0 +1,7 @@
+html-xml-utils for Debian
+-------------------------
+
+To avoid file conflicts, all programs are prefixed with `w3c_'. See also
+<URL:http://bugs.debian.org/464957>.
+
+ -- Daniel Leidert (dale) <daniel.leidert at wgdd.de> Sun, 10 Feb 2008 02:14:14 +0100
Modified: packages/html-xml-utils/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/html-xml-utils/trunk/debian/changelog?rev=1009&op=diff
==============================================================================
--- packages/html-xml-utils/trunk/debian/changelog (original)
+++ packages/html-xml-utils/trunk/debian/changelog Sun Feb 10 23:48:00 2008
@@ -1,6 +1,6 @@
html-xml-utils (4.4-1) unstable; urgency=low
- * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
+ * Initial release (Closes: #464957).
-- Daniel Leidert (dale) <daniel.leidert at wgdd.de> Sun, 10 Feb 2008 02:14:14 +0100
Modified: packages/html-xml-utils/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/html-xml-utils/trunk/debian/control?rev=1009&op=diff
==============================================================================
--- packages/html-xml-utils/trunk/debian/control (original)
+++ packages/html-xml-utils/trunk/debian/control Sun Feb 10 23:48:00 2008
@@ -1,8 +1,9 @@
Source: html-xml-utils
Section: text
Priority: extra
-Maintainer: Daniel Leidert (dale) <daniel.leidert at wgdd.de>
-Build-Depends: debhelper (>= 5), autotools-dev
+Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs at lists.alioth.debian.org>
+Uploaders: Daniel Leidert (dale) <daniel.leidert at wgdd.de>
+Build-Depends: debhelper (>= 5), dpatch
Standards-Version: 3.7.3
Homepage: http://www.w3.org/Tools/HTML-XML-utils/
Vcs-Browser: http://svn.debian.org/wsvn/debian-xml-sgml/packages/html-xml-utils/trunk/
@@ -11,37 +12,36 @@
Package: html-xml-utils
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: simple utilties for manipulating HTML and XML files
- A number of simple utilties for manipulating HTML and XML files.
+Depends: ${shlibs:Depends}, ${perl:Depends}
+Description: HTML and XML manipulation utilities
+ A number of simple utilities for manipulating HTML and XML files.
.
- cexport - create headerfile of exported declarations from a C file
- addid - add ID's to selected elements
- cite - replace bibliographic references by hyperlinks
- cite-mkbib - expand references and create bibliography
- count - count elements and attributes in HTML or XML files files
- extract - extract selected elements
- htmlclean - apply heuristics to correct an HTML file
- htmlprune - remove marked elements from an HTML file
- incl - expand included HTML or XML files
- index - create an alphabetically sorted index
- mkbib - create bibliography from a template
- multitoc - create a table of contents for a set of HTML files
- name2id - move some ID= or NAME= from A elements to their parents
- normalize - pretty-print an HTML file
- num - number section headings in an HTML file
- pipe - convert XML to a format easier to parse with Perl or AWK
- printlinks - number links & add table of URLs at end of an HTML file
- toc - insert a table of contents in an HTML file
- uncdata - replace CDATA sections by character entities
- unent - replace HTML predefined character entities to UTF-8
- unpipe - convert output of pipe back to XML format
- unxmlns - replace "global names" by XML Namespace prefixes
- wls - list links in an HTML file
- xmlns - replace XML Namespace prefixes by "global names"
- xmlrecode - convert between UTF-8 and &#nnn; entities
- asc2xml - convert from UTF-8 to &#nnn; entities
- xml2asc - convert from &#nnn; entities to UTF-8
- xref - generate cross-references
- xselect - extract elements that match a (CSS) selector
+ w3c_addid - add ID's to selected elements
+ w3c_asc2xml - convert from UTF-8 to &#nnn; entities
+ w3c_cexport - create headerfile of exported declarations from a C file
+ w3c_cite - replace bibliographic references by hyperlinks
+ w3c_cite-mkbib - expand references and create bibliography
+ w3c_count - count elements and attributes in HTML or XML files files
+ w3c_extract - extract selected elements
+ w3c_htmlclean - apply heuristics to correct an HTML file
+ w3c_htmlprune - remove marked elements from an HTML file
+ w3c_incl - expand included HTML or XML files
+ w3c_index - create an alphabetically sorted index
+ w3c_mkbib - create bibliography from a template
+ w3c_multitoc - create a table of contents for a set of HTML files
+ w3c_name2id - move some ID= or NAME= from A elements to their parents
+ w3c_normalize - pretty-print an HTML file
+ w3c_num - number section headings in an HTML file
+ w3c_pipe - convert XML to a format easier to parse with Perl or AWK
+ w3c_printlinks - number links & add table of URLs at end of an HTML file
+ w3c_toc - insert a table of contents in an HTML file
+ w3c_uncdata - replace CDATA sections by character entities
+ w3c_unent - replace HTML predefined character entities to UTF-8
+ w3c_unpipe - convert output of pipe back to XML format
+ w3c_unxmlns - replace "global names" by XML Namespace prefixes
+ w3c_wls - list links in an HTML file
+ w3c_xml2asc - convert from &#nnn; entities to UTF-8
+ w3c_xmlns - replace XML Namespace prefixes by "global names"
+ w3c_xref - generate cross-references
+ w3c_xselect - extract elements that match a (CSS) selector
Modified: packages/html-xml-utils/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/html-xml-utils/trunk/debian/copyright?rev=1009&op=diff
==============================================================================
--- packages/html-xml-utils/trunk/debian/copyright (original)
+++ packages/html-xml-utils/trunk/debian/copyright Sun Feb 10 23:48:00 2008
@@ -1,4 +1,4 @@
-This package was debianized by Daniel Leidert (dale) <daniel.leidert at wgdd.de> on
+This package was debianized by Daniel Leidert <daniel.leidert at wgdd.de> on
Sun, 10 Feb 2008 02:14:14 +0100.
It was downloaded from:
@@ -12,31 +12,50 @@
Copyright:
Copyright (C) 1994-2006 World Wide Web Consortium
+ All Rights Reserved.
-License:
+License: W3C(R) Software License (v20021231)
- Redistribution and use in source and binary forms, with or without
- modification, are permitted under the terms of the BSD License.
+ This work (and included software, documentation such as READMEs, or other
+ related items) is being provided by the copyright holders under the
+ following license. By obtaining, using and/or copying this work, you (the
+ licensee) agree that you have read, understood, and will comply with the
+ following terms and conditions.
+
+ Permission to copy, modify, and distribute this software and its
+ documentation, with or without modification, for any purpose and without fee
+ or royalty is hereby granted, provided that you include the following on ALL
+ copies of the software and documentation or portions thereof, including
+ modifications:
+
+ 1. The full text of this NOTICE in a location viewable to users of the
+ redistributed or derivative work.
+
+ 2. Any pre-existing intellectual property disclaimers, notices, or terms
+ and conditions. If none exist, the [1]W3C Software Short Notice should
+ be included (hypertext is preferred, text is permitted) within the body
+ of any redistributed or derivative code.
+
+ 3. Notice of any changes or modifications to the files, including the date
+ changes were made. (We recommend you provide URIs to the location from
+ which the code is derived.)
+
+ THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS
+ MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
+ LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR
+ PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE
+ ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
+
+ COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
+ CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR
+ DOCUMENTATION.
+
+ The name and trademarks of copyright holders may NOT be used in advertising
+ or publicity pertaining to the software without specific, written prior
+ permission. Title to copyright in this software and any associated
+ documentation will at all times remain with copyright holders.
- THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- SUCH DAMAGE.
+ [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-short-notice-20021231.html
-On Debian systems, the complete text of the BSD License can be
-found in `/usr/share/common-licenses/BSD'.
-
-
-The Debian packaging is (C) 2008, Daniel Leidert (dale) <daniel.leidert at wgdd.de> and
+The Debian packaging is (C) 2008, Daniel Leidert <daniel.leidert at wgdd.de> and
is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
-
-
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.
Added: packages/html-xml-utils/trunk/debian/man/w3c_extract.1
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/html-xml-utils/trunk/debian/man/w3c_extract.1?rev=1009&op=file
==============================================================================
--- packages/html-xml-utils/trunk/debian/man/w3c_extract.1 (added)
+++ packages/html-xml-utils/trunk/debian/man/w3c_extract.1 Sun Feb 10 23:48:00 2008
@@ -1,0 +1,60 @@
+.de d \" begin display
+.sp
+.in +4
+.nf
+..
+.de e \" end display
+.in -4
+.fi
+.sp
+..
+.TH man 1 "10 Feb 2008"
+.SH NAME
+extract \- extract selected elements
+.SH SYNOPSIS
+.B extract
+.RB "[\| " \-x " \|]"
+.RB "[\| " \-s
+.IR text " \|]"
+.RB "[\| " \-e
+.IR text " \|]"
+.RI "[\| " element "[\|" \.class "\|] | " \.class "\|]"
+.RB "[\| " \-b
+.IR base " | " file\-or\-URL
+.RB "| " \-c
+.IR "configfile" " \|]"
+.SH DESCRIPTION
+.B extract
+outputs all elements with a certain name and/or class.
+.PP
+Input must be well-formed, since no HTML heuristics are applied.
+.SH OPTIONS
+The following options are supported:
+.TP 10
+.B \-x
+XML format
+.TP 10
+.BI \-s " text"
+text inserted at the start of the output
+.TP 10
+.BI \-e " text"
+text inserted at the end of the output
+.TP 10
+.BI \-b " base"
+URL base
+.TP 10
+.BI \-c " configfile"
+config file
+.TP 10
+.BR \-h ", " \-?
+show command usage
+.SH OPERANDS
+The following operands are supported:
+.TP 10
+.IR element "[\|" \.class "\|] | " \.class
+The element (optionally with class) or class.
+.TP 10
+.I file\-or\-URL
+The name of an HTML or XML file or the URL of one. If absent, standard
+input is read instead.
+
Added: packages/html-xml-utils/trunk/debian/man/w3c_printlinks.1
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/html-xml-utils/trunk/debian/man/w3c_printlinks.1?rev=1009&op=file
==============================================================================
--- packages/html-xml-utils/trunk/debian/man/w3c_printlinks.1 (added)
+++ packages/html-xml-utils/trunk/debian/man/w3c_printlinks.1 Sun Feb 10 23:48:00 2008
@@ -1,0 +1,32 @@
+.de d \" begin display
+.sp
+.in +4
+.nf
+..
+.de e \" end display
+.in -4
+.fi
+.sp
+..
+.TH man 1 "10 Feb 2008"
+.SH NAME
+printlinks \- number links and add a table of URLs at the end of an HTML file
+.SH SYNOPSIS
+.B printlinks
+.RB "[\| " \-b
+.IR base " \|]"
+.I file
+.SH DESCRIPTION
+.B printlinks
+adds a numbered table of all URLs (links) found in the file to the end of
+the HTML file.
+.SH OPTIONS
+The following options are supported:
+.TP
+.BI \-b " base"
+Prefix all URLs with the given \fIbase\fR.
+.SH OPERANDS
+The following operands are supported:
+.TP
+.I file
+The file to work on.
Added: packages/html-xml-utils/trunk/debian/man/w3c_uncdata.1
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/html-xml-utils/trunk/debian/man/w3c_uncdata.1?rev=1009&op=file
==============================================================================
--- packages/html-xml-utils/trunk/debian/man/w3c_uncdata.1 (added)
+++ packages/html-xml-utils/trunk/debian/man/w3c_uncdata.1 Sun Feb 10 23:48:00 2008
@@ -1,0 +1,29 @@
+.de d \" begin display
+.sp
+.in +4
+.nf
+..
+.de e \" end display
+.in -4
+.fi
+.sp
+..
+.TH man 1 "10 Feb 2008"
+.SH NAME
+uncdata \- replace CDATA sections by character entities
+.SH SYNOPSIS
+.B uncdata
+.I xml-file
+.SH DESCRIPTION
+.B uncdata
+replaces CDATA sections by character entities.
+.SH OPTIONS
+The following options are supported:
+.TP
+.BR \-? ", " \-\-help
+Show command usage.
+.SH OPERANDS
+The following operands are supported:
+.TP
+.I selector
+The element (optionally with class) or class.
Added: packages/html-xml-utils/trunk/debian/man/w3c_xselect.1
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/html-xml-utils/trunk/debian/man/w3c_xselect.1?rev=1009&op=file
==============================================================================
--- packages/html-xml-utils/trunk/debian/man/w3c_xselect.1 (added)
+++ packages/html-xml-utils/trunk/debian/man/w3c_xselect.1 Sun Feb 10 23:48:00 2008
@@ -1,0 +1,58 @@
+.de d \" begin display
+.sp
+.in +4
+.nf
+..
+.de e \" end display
+.in -4
+.fi
+.sp
+..
+.TH man 1 "10 Feb 2008"
+.SH NAME
+xselect \- extract elements that match a (CSS) selector
+.SH SYNOPSIS
+.B xselect
+.RB "[\| " \-i " \|]"
+.RB "[\| " \-c " \|]"
+.RB "[\| " \-l
+.IR language " \|]"
+.RB "[\| " \-s
+.IR separator " \|]"
+.I selector
+.SH DESCRIPTION
+.B xselect
+outputs all elements with a given name and/or class or id matching
+given selector.
+.PP
+The command operates on the standard input.
+.SH OPTIONS
+The following options are supported:
+.TP
+.B \-i
+Match case-insensitively. Useful for HTML and some other
+SGML-based languages.
+.TP
+.B \-c
+Print content only. Without \fB\-c\fR, the start and end tag of the
+matched element are printed as well; with \fB\-c\fR only the contents
+of the matched element are printed.
+.TP
+.BI \-l " language"
+Sets the default language, in case the root element doesn't
+have an xml:lang attribute (default: \fInone\fR). Example:
+.B \-l en
+.TP
+.BI \-s " separator"
+A string to print after each match (default: empty). Accepts
+C-like escapes. Example:
+.B \-s \(aq\\\\n\\\\n\(aq
+to print an empty line after each match.
+.TP
+.B \-?
+Show command usage.
+.SH OPERANDS
+The following operands are supported:
+.TP
+.I selector
+The element (optionally with class) or class.
Added: packages/html-xml-utils/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/html-xml-utils/trunk/debian/patches/00list?rev=1009&op=file
==============================================================================
--- packages/html-xml-utils/trunk/debian/patches/00list (added)
+++ packages/html-xml-utils/trunk/debian/patches/00list Sun Feb 10 23:48:00 2008
@@ -1,0 +1,1 @@
+fix_manpage_issues
Added: packages/html-xml-utils/trunk/debian/patches/fix_manpage_issues.dpatch
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/html-xml-utils/trunk/debian/patches/fix_manpage_issues.dpatch?rev=1009&op=file
==============================================================================
--- packages/html-xml-utils/trunk/debian/patches/fix_manpage_issues.dpatch (added)
+++ packages/html-xml-utils/trunk/debian/patches/fix_manpage_issues.dpatch Sun Feb 10 23:48:00 2008
@@ -1,0 +1,98 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_manpage_issues.dpatch by Daniel Leidert (dale) <daniel.leidert at wgdd.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: This patch fixes a few minor issues and also lintian warnings:
+## DP:
+## DP: - cite-mkbib.1: Escape periods at the beginning of a line.
+## DP: See #464960.
+## DP: - incl.1: Ditto.
+## DP: - index.1: Ditto.
+## DP: - normalize.1: Typo fix.
+## DP: - unent.1: Ditto.
+## DP: - wls.1: Escape minus.
+
+ at DPATCH@
+diff -urNad trunk~/cite-mkbib.1 trunk/cite-mkbib.1
+--- trunk~/cite-mkbib.1 2000-03-30 12:41:14.000000000 +0200
++++ trunk/cite-mkbib.1 2008-02-11 00:29:21.000000000 +0100
+@@ -115,7 +115,7 @@
+ .d
+ <html>
+ <title>Bibliography</title>
+- ... text with [[references]] here...
++\&... text with [[references]] here...
+ <!--%A%D sorted on author, then date -->
+ <dl>
+ %{L:
+diff -urNad trunk~/incl.1 trunk/incl.1
+--- trunk~/incl.1 2004-11-08 11:09:07.000000000 +0100
++++ trunk/incl.1 2008-02-11 00:29:21.000000000 +0100
+@@ -26,7 +26,7 @@
+ the file whose name is given as the atrribute of the directive. For
+ example:
+ .d
+- ...<!-- include "foo.html" -->...
++\&...<!-- include "foo.html" -->...
+ .e
+ will be replaced by the content of the file \fIfoo.html\fP. It is
+ important to note that you must quote filenames if they contain
+diff -urNad trunk~/index.1 trunk/index.1
+--- trunk~/index.1 2005-01-11 17:53:34.000000000 +0100
++++ trunk/index.1 2008-02-11 00:29:21.000000000 +0100
+@@ -39,7 +39,7 @@
+ or between two comments of the form
+ .d
+ <!--begin-index-->
+-...
++\&...
+ <!--end-index-->
+ .e
+ In the latter case, all existing content between the two comments is
+@@ -65,8 +65,8 @@
+ If the term to be indexed is not equal to the contents of the element,
+ the \fItitle\fP attribute can be used to give the correct term:
+ .d
+-... <dfn title="shoe">Shoes</dfn> are pieces of clothing that...
+-... with two leather <span class="index" title="shoe">shoes</span>...
++\&... <dfn title="shoe">Shoes</dfn> are pieces of clothing that...
++\&... with two leather <span class="index" title="shoe">shoes</span>...
+ .e
+ .LP
+ The \fItitle\fP attribute must also be used when the index term is a
+diff -urNad trunk~/normalize.1 trunk/normalize.1
+--- trunk~/normalize.1 2007-04-18 15:07:10.000000000 +0200
++++ trunk/normalize.1 2008-02-11 00:29:21.000000000 +0100
+@@ -65,7 +65,7 @@
+ will try to correct the error and produce output anyway.
+ .SH "SEE ALSO"
+ .BR xml2asc (1),
+-.BR asc2xml2 (1),
++.BR asc2xml (1),
+ .BR UTF-8
+ (RFC 2279)
+ .SH BUGS
+diff -urNad trunk~/unent.1 trunk/unent.1
+--- trunk~/unent.1 2007-04-18 15:07:09.000000000 +0200
++++ trunk/unent.1 2008-02-11 00:29:21.000000000 +0100
+@@ -45,7 +45,7 @@
+ Wrong command line arguments.
+ .SH "SEE ALSO"
+ .BR xml2asc (1),
+-.BR asc2xml2 (1),
++.BR asc2xml (1),
+ .BR UTF-8
+ (RFC 2279)
+ .SH BUGS
+diff -urNad trunk~/wls.1 trunk/wls.1
+--- trunk~/wls.1 2008-01-24 10:28:17.000000000 +0100
++++ trunk/wls.1 2008-02-11 00:29:21.000000000 +0100
+@@ -49,7 +49,7 @@
+ Use
+ .I base
+ as the initial base URL. If there is a <base> element in the document,
+-it will override the -b option.
++it will override the \-b option.
+ .TP
+ .BI \-h
+ Output as HTML. The output will be listed in the form of <a> elements.
Propchange: packages/html-xml-utils/trunk/debian/patches/fix_manpage_issues.dpatch
------------------------------------------------------------------------------
svn:executable = *
Modified: packages/html-xml-utils/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/html-xml-utils/trunk/debian/rules?rev=1009&op=diff
==============================================================================
--- packages/html-xml-utils/trunk/debian/rules (original)
+++ packages/html-xml-utils/trunk/debian/rules Sun Feb 10 23:48:00 2008
@@ -5,8 +5,18 @@
PACKAGE = html-xml-utils
+include /usr/share/dpatch/dpatch.make
+
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
config.status: configure
dh_testdir
@@ -14,18 +24,19 @@
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr \
+ --program-prefix=w3c_ \
--mandir=\$${prefix}/share/man
-build: build-stamp
+build: patch-stamp build-stamp
build-stamp: config.status
dh_testdir
$(MAKE)
touch $@
-clean:
+clean: unpatch
dh_testdir
dh_testroot
- $(MAKE) distclean
+ [ ! -f Makefile ] || $(MAKE) distclean
dh_clean build-stamp
install: build
@@ -34,6 +45,13 @@
dh_clean -k
dh_installdirs
$(MAKE) install DESTDIR=$(CURDIR)/debian/$(PACKAGE)
+ for man in $(CURDIR)/debian/html-xml-utils/usr/share/man/man1/w3c_*.1; do \
+ name=`basename $${man} .1 | sed -e 's/w3c_//g'` ; \
+ sed -i -e "s/\.B $${name}/.B w3c_$${name}/g" \
+ -e "s/^$${name}/w3c_$${name}/g" \
+ -e "s/^\.BR \(.*\) (1)/.BR w3c_\1 (1)/g" \
+ $${man} ; \
+ done
# Build architecture-independent files here.
binary-indep: build install
@@ -44,15 +62,16 @@
dh_testroot
dh_installchangelogs ChangeLog
dh_installdocs
- dh_installexamples
-# dh_install
-# dh_installmenu
- dh_installman
+ dh_installman debian/man/w3c_extract.1 \
+ debian/man/w3c_printlinks.1 \
+ debian/man/w3c_uncdata.1 \
+ debian/man/w3c_xselect.1
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
+ dh_perl
dh_shlibdeps
dh_gencontrol
dh_md5sums
More information about the debian-xml-sgml-commit
mailing list