The following commit has been merged in the master branch: commit 48401ce08abf1fdd094ef4d82deffe7424dbd141 Author: Felix Natter <fnat...@gmx.net> Date: Thu Oct 3 17:47:02 2013 +0200
add basic man page for /usr/bin/jmapviewer diff --git a/debian/control b/debian/control index 30b2231..fdd6b07 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,8 @@ Uploaders: Build-Depends: ant, debhelper (>= 9~), - default-jdk + default-jdk, + docbook-xsl, docbook-xml, xsltproc Standards-Version: 3.9.4 Homepage: https://wiki.openstreetmap.org/wiki/JMapViewer Vcs-Git: git://anonscm.debian.org/pkg-osm/jmapviewer.git diff --git a/debian/jmapviewer.1.xml b/debian/jmapviewer.1.xml new file mode 100644 index 0000000..440eac8 --- /dev/null +++ b/debian/jmapviewer.1.xml @@ -0,0 +1,113 @@ +<?xml version='1.0'?> + +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + + <!-- Fill in your name for FIRSTNAME and SURNAME. --> + <!ENTITY dhfirstname "<firstname>Felix</firstname>"> + <!ENTITY dhsurname "<surname>Natter</surname>"> + <!-- Please adjust the date whenever revising the manpage. --> + <!ENTITY dhdate "<date>October 3rd, 2013</date>"> + <!-- SECTION should be 1-8, maybe w/ subsection other parameters are + allowed: see man(7), man(1). --> + <!ENTITY dhsection "<manvolnum>1</manvolnum>"> + <!ENTITY dhemail "<email>fnat...@gmx.net</email>"> + <!ENTITY dhusername "Felix Natter"> + <!ENTITY dhucpackage "<refentrytitle>JMAPVIEWER</refentrytitle>"> + <!ENTITY dhpackage "jmapviewer"> + + <!ENTITY debian "<productname>Debian</productname>"> + <!ENTITY gnu "<acronym>GNU</acronym>"> + <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> + <!ENTITY version "1.0"> +]> + +<refentry> + + <refentryinfo> + <address> + fnat...@gmx.net + </address> + <authorgroup> + <author> + <firstname>Andrew</firstname> + <surname>Harvey</surname> + <email>andrew.harv...@gmail.com</email> + </author> + <author> + <firstname>Felix</firstname> + <surname>Natter</surname> + <email>fnat...@gmx.net</email> + </author> + </authorgroup> + <copyright> + <year>2013</year> + <holder>Andrew Harvey and Felix Natter</holder> + </copyright> + &dhdate; + </refentryinfo> + + <refmeta> + &dhucpackage; + &dhsection; + <refmiscinfo class="source">JMapViewer 1.0</refmiscinfo> + <refmiscinfo class="manual">User Commands</refmiscinfo> + </refmeta> + <refnamediv> + <refname>&dhpackage;</refname> + <refpurpose>JMapViewer is a java component which allows to easily + integrate an OSM map view into your Java application, including demo + program 'jmapviewer'. </refpurpose> + </refnamediv> + <refsynopsisdiv> + <cmdsynopsis> + <command>jmapviewer</command> + </cmdsynopsis> + </refsynopsisdiv> + <refsect1> + <title>DESCRIPTION</title> + + <para><command>&dhpackage;</command> is a demo program for the + JMapViewer library. + </para> + + </refsect1> + <refsect1> + <title>OPTIONS</title> + + <para>There are no options for 'jmapviewer'.</para> + + </refsect1> + + <refsect1> + <title>ENVIRONMENT VARIABLES</title> + + <para>There are no environment variables for 'jmapviewer'.</para> + + </refsect1> + + <refsect1> + <title>SEE ALSO</title> + + <para> + See http://wiki.openstreetmap.org/wiki/JMapViewer for more information. + </para> + + </refsect1> + + <refsect1> + <title>AUTHOR</title> + + <para>This manual page was written by &dhusername; &dhemail; for + the &debian; system (and 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 or any + later version published by the Free Software Foundation. + </para> + <para> + On Debian systems, the complete text of the GNU General Public + License, Version 2 can be found in /usr/share/common-licenses/GPL-2. + </para> + + </refsect1> +</refentry> diff --git a/debian/jmapviewer.manpages b/debian/jmapviewer.manpages new file mode 100644 index 0000000..40f0faf --- /dev/null +++ b/debian/jmapviewer.manpages @@ -0,0 +1 @@ +jmapviewer.1 \ No newline at end of file diff --git a/debian/rules b/debian/rules index 69fa67d..0e2e4d5 100755 --- a/debian/rules +++ b/debian/rules @@ -16,8 +16,18 @@ VER=1.0 override_dh_auto_clean: rm -rf $(CURDIR)/bin/* + -rm -f jmapviewer.1 dh_auto_clean +override_dh_auto_build: + xsltproc --nonet \ + --param make.year.ranges 1 \ + --param make.single.year.ranges 1 \ + --param man.charmap.use.subset 0 \ + http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \ + debian/jmapviewer.1.xml + dh_auto_build + override_dh_auto_install: dh_auto_install install -m 644 $(CURDIR)/JMapViewer.jar $(CURDIR)/debian/jmapviewer/usr/share/java/jmapviewer-${VER}.jar @@ -28,4 +38,4 @@ override_dh_auto_install: get-orig-source: uscan --download --repack --destdir .. -.PHONY: override_dh_auto_clean override_dh_auto_install +.PHONY: override_dh_auto_clean override_dh_auto_install override_dh_auto_build -- Java OpenStreetMap Tile Viewer _______________________________________________ Pkg-osm-commits mailing list Pkg-osm-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-osm-commits