[Pkg-ocaml-maint-commits] r5055 - in /trunk/packages/ocaml-csv/trunk/debian: changelog control csvtool.dbk rules
glondu-guest at users.alioth.debian.org
glondu-guest at users.alioth.debian.org
Tue Jan 15 15:33:23 UTC 2008
Author: glondu-guest
Date: Tue Jan 15 15:33:23 2008
New Revision: 5055
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=5055
Log:
Manpage for csvtool, update Standards-Version to 3.7.3.
Added:
trunk/packages/ocaml-csv/trunk/debian/csvtool.dbk
Modified:
trunk/packages/ocaml-csv/trunk/debian/changelog
trunk/packages/ocaml-csv/trunk/debian/control
trunk/packages/ocaml-csv/trunk/debian/rules
Modified: trunk/packages/ocaml-csv/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-csv/trunk/debian/changelog?rev=5055&op=diff
==============================================================================
--- trunk/packages/ocaml-csv/trunk/debian/changelog (original)
+++ trunk/packages/ocaml-csv/trunk/debian/changelog Tue Jan 15 15:33:23 2008
@@ -5,5 +5,6 @@
* META file generation.
* Use extlib.
* dash compatibility.
+ * Added a manpage for csvtool.
- -- Stephane Glondu <steph at glondu.net> Mon, 14 Jan 2008 22:47:50 +0100
+ -- Stephane Glondu <steph at glondu.net> Tue, 15 Jan 2008 16:27:39 +0100
Modified: trunk/packages/ocaml-csv/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-csv/trunk/debian/control?rev=5055&op=diff
==============================================================================
--- trunk/packages/ocaml-csv/trunk/debian/control (original)
+++ trunk/packages/ocaml-csv/trunk/debian/control Tue Jan 15 15:33:23 2008
@@ -2,8 +2,8 @@
Priority: optional
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
Uploaders: Stephane Glondu <steph at glondu.net>
-Build-Depends: debhelper (>= 5), dpatch, ocaml-nox, ocaml-findlib, libextlib-ocaml-dev
-Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 5), dpatch, ocaml-nox, ocaml-findlib, libextlib-ocaml-dev, xsltproc, docbook-xsl
+Standards-Version: 3.7.3
Section: libs
Homepage: http://merjis.com/developers/csv
Vcs-Svn: svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/ocaml-csv/trunk
Added: trunk/packages/ocaml-csv/trunk/debian/csvtool.dbk
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-csv/trunk/debian/csvtool.dbk?rev=5055&op=file
==============================================================================
--- trunk/packages/ocaml-csv/trunk/debian/csvtool.dbk (added)
+++ trunk/packages/ocaml-csv/trunk/debian/csvtool.dbk Tue Jan 15 15:33:23 2008
@@ -1,0 +1,119 @@
+<?xml version='1.0' encoding='ISO-8859-1'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+
+<!--
+
+Process this file with an XSLT processor: `xsltproc \
+-''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl manpage.dbk'. A manual page
+<package>.<section> will be generated. You may view the
+manual page with: nroff -man <package>.<section> | less'. A
+typical entry in a Makefile or Makefile.am is:
+
+DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl
+XP=xsltproc -''-nonet
+
+manpage.1: manpage.dbk
+ $(XP) $(DB2MAN) $<
+
+The xsltproc binary is found in the xsltproc package. The
+XSL files are in docbook-xsl. Please remember that if you
+create the nroff version in one of the debian/rules file
+targets (such as build), you will need to include xsltproc
+and docbook-xsl in your Build-Depends control field.
+
+-->
+
+ <!ENTITY dhfirstname "<firstname>Stephane</firstname>">
+ <!ENTITY dhsurname "<surname>Glondu</surname>">
+ <!-- Please adjust the date whenever revising the manpage. -->
+ <!ENTITY dhdate "<date>January 15, 2008</date>">
+ <!ENTITY dhsection "<manvolnum>1</manvolnum>">
+ <!ENTITY dhemail "<email>steph at glondu.net</email>">
+ <!ENTITY dhusername "Stephane Glondu">
+ <!ENTITY dhucpackage "<refentrytitle>csvtool</refentrytitle>">
+ <!ENTITY dhpackage "csvtool">
+
+ <!ENTITY debian "<productname>Debian</productname>">
+ <!ENTITY gnu "<acronym>GNU</acronym>">
+ <!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+ <refentryinfo>
+ <address>
+ &dhemail;
+ </address>
+ <copyright>
+ <year>2008</year>
+ <holder>&dhusername;</holder>
+ </copyright>
+ &dhdate;
+ </refentryinfo>
+ <refmeta>
+ &dhucpackage;
+
+ &dhsection;
+ </refmeta>
+ <refnamediv>
+ <refname>&dhpackage;</refname>
+
+ <refpurpose>tool for performing manipulations on CSV files from shell scripts</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <cmdsynopsis>
+ <command>&dhpackage;</command>
+
+ <arg choice="opt"><option>options</option></arg>
+ <arg choice="plain"><replaceable>command</replaceable></arg>
+ <arg choice="opt"><option>command-args</option></arg>
+ <arg choice="plain" rep="repeat"><replaceable>input.csv</replaceable></arg>
+ </cmdsynopsis>
+ </refsynopsisdiv>
+ <refsect1>
+ <title>DESCRIPTION</title>
+
+ <para>This manual page documents briefly the
+ <command>&dhpackage;</command> command.</para>
+
+ <para>This manual page was written for the &debian; distribution
+ because the original program does not have a manual page.
+ Instead, it has documentation accessible with the <option>--help</option> option.</para>
+
+ <para><command>&dhpackage;</command> is a tool for performing
+ manipulations on CSV files from shell scripts.</para>
+
+ </refsect1>
+ <refsect1>
+ <title>OPTIONS</title>
+
+ <variablelist>
+ <varlistentry>
+ <term><option>-help</option>
+ <option>--help</option>
+ </term>
+ <listitem>
+ <para>Show help.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+ <refsect1>
+ <title>AUTHOR</title>
+
+ <para>This manual page was written by &dhusername; &dhemail; for
+ the &debian; system (but may be used by others). Permission is
+ granted to copy, distribute and/or modify this document under
+ the terms of the &gnu; General Public License, Version 2 any
+ later version published by the Free Software Foundation.
+ </para>
+ <para>
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in /usr/share/common-licenses/GPL.
+ </para>
+
+ </refsect1>
+</refentry>
+
Modified: trunk/packages/ocaml-csv/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-csv/trunk/debian/rules?rev=5055&op=diff
==============================================================================
--- trunk/packages/ocaml-csv/trunk/debian/rules (original)
+++ trunk/packages/ocaml-csv/trunk/debian/rules Tue Jan 15 15:33:23 2008
@@ -17,6 +17,20 @@
ocamlinit:
for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done
+DB2MAN := /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl
+XP := xsltproc -''-nonet
+
+debian/csvtool.1: debian/csvtool.dbk
+ $(XP) -o $@ $(DB2MAN) $<
+
+links:
+ echo "usr/share/man/man1/csvtool.1 usr/share/man/man1/csvtool.byte.1" > $(CURDIR)/debian/csvtool.links
+ if [ -x /usr/bin/ocamlopt ]; then \
+ echo "usr/share/man/man1/csvtool.1 usr/share/man/man1/csvtool.opt.1" >> $(CURDIR)/debian/csvtool.links; \
+ echo "usr/bin/csvtool.opt usr/bin/csvtool" >> $(CURDIR)/debian/csvtool.links; \
+ else \
+ echo "usr/bin/csvtool.byte usr/bin/csvtool" >> $(CURDIR)/debian/csvtool.links; \
+ fi
configure: configure-stamp
configure-stamp:
@@ -24,7 +38,7 @@
touch configure-stamp
-build: patch ocamlinit build-stamp
+build: patch ocamlinit debian/csvtool.1 build-stamp
build-stamp: configure-stamp
dh_testdir
$(MAKE) byte doc
@@ -45,15 +59,10 @@
dh_clean -k
dh_installdirs
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
- if [ -x /usr/bin/ocamlopt ]; then \
- echo "usr/bin/csvtool.opt usr/bin/csvtool" > $(CURDIR)/debian/csvtool.links; \
- else \
- echo "usr/bin/csvtool.byte usr/bin/csvtool" > $(CURDIR)/debian/csvtool.links; \
- fi
binary-indep: build install
-binary-arch: build install
+binary-arch: build links install
dh_testdir
dh_testroot
dh_installchangelogs
@@ -69,7 +78,7 @@
# dh_installinit
# dh_installcron
# dh_installinfo
- dh_installman
+ dh_installman -pcsvtool debian/csvtool.1
dh_link
dh_strip
dh_compress
@@ -84,4 +93,4 @@
dh_builddeb
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure ocamlinit patch unpatch
+.PHONY: build clean binary-indep binary-arch binary install configure ocamlinit patch unpatch links
More information about the Pkg-ocaml-maint-commits
mailing list