[Pkg-wmaker-commits] [wmfrog] 97/145: Remove debian/pod2man.mk, debian/wmfrog.1.pod and man target in debian/rules that built manpage during build process. Replaced with wmfrog.1.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sun Aug 23 05:46:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmfrog.

commit 24dfa65803a7d9766a7ba9abf593cf949b9b9099
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Mon Jul 21 23:26:21 2014 -0500

    Remove debian/pod2man.mk, debian/wmfrog.1.pod and man target in debian/rules that built manpage during build process.  Replaced with wmfrog.1.
---
 debian/pod2man.mk   |  70 ------------------------
 debian/rules        |  10 +---
 debian/wmfrog.1     | 150 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/wmfrog.1.pod | 109 --------------------------------------
 4 files changed, 151 insertions(+), 188 deletions(-)

diff --git a/debian/pod2man.mk b/debian/pod2man.mk
deleted file mode 100644
index 450fa9a..0000000
--- a/debian/pod2man.mk
+++ /dev/null
@@ -1,70 +0,0 @@
-# pod2man.mk -- Makefile portion to convert *.pod files to manual pages
-#
-#   Copyright information
-#
-#	Copyright (C) 2008-2010 Jari Aalto
-#
-#   License
-#
-#       This program is free software; you can redistribute it and/or modify
-#       it under the terms of the GNU General Public License as published by
-#       the Free Software Foundation; either version 2 of the License, or
-#       (at your option) any later version.
-#
-#       This program is distributed in the hope that it will be useful,
-#       but WITHOUT ANY WARRANTY; without even the implied warranty of
-#       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-#       GNU General Public License for more details.
-#
-#       You should have received a copy of the GNU General Public License
-#       along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-#   Description
-#
-# 	Convert *.pod files to manual pages. Add this to Makefile:
-#
-#	    PACKAGE = package
-#
-#	    man:
-#		    make -f pod2man.mk PACKAGE=$(PACKAGE) makeman
-#
-#	    build: man
-
-ifneq (,)
-    This makefile requires GNU Make.
-endif
-
-# This variable *must* be set when called
-PACKAGE		?= package
-
-# Optional variables to set
-MANSECT		?= 1
-PODCENTER 	?= User Commands
-PODDATE		?= $$(date "+%Y-%m-%d")
-
-# Directories
-MANSRC		?=
-MANDEST		?= $(MANSRC)
-
-MANPOD		?= $(MANSRC)$(PACKAGE).$(MANSECT).pod
-MANPAGE		?= $(MANDEST)$(PACKAGE).$(MANSECT)
-
-POD2MAN		?= pod2man
-POD2MAN_FLAGS	?= --utf8
-
-makeman: $(MANPAGE)
-
-$(MANPAGE): $(MANPOD)
-	# make target - create manual page from a *.pod page
-	podchecker $(MANPOD)
-	LC_ALL= LANG=C $(POD2MAN) $(POD2MAN_FLAGS) \
-		--center="$(PODCENTER)" \
-		--date="$(PODDATE)" \
-		--name="$(PACKAGE)" \
-		--section="$(MANSECT)" \
-		$(MANPOD) \
-	| sed 's,[Pp]erl v[0-9.]\+,$(PACKAGE),' \
-	  > $(MANPAGE) && \
-	rm -f pod*.tmp
-
-# End of of Makefile part
diff --git a/debian/rules b/debian/rules
index 74297ba..0339aad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,17 +1,12 @@
 #!/usr/bin/make -f
 
-PACKAGE = wmfrog
 MAKEOPT = -C Src
 
 export DEB_BUILD_MAINT_OPTIONS	= hardening=+all
 export DEB_CFLAGS_MAINT_APPEND	= -Wall -pedantic
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
-man:
-	# convert *.pod to manual page
-	$(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE) makeman
-
-override_dh_auto_build: man
+override_dh_auto_build:
 	# CFLAGS is the only variable that we can utilize to pass flags.
 	$(MAKE) $(MAKEOPT) CFLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"
 
@@ -24,6 +19,3 @@ override_dh_auto_install:
 %:
 	dh $@
 
-.PHONY = man
-
-# End of file
diff --git a/debian/wmfrog.1 b/debian/wmfrog.1
new file mode 100644
index 0000000..20adaa7
--- /dev/null
+++ b/debian/wmfrog.1
@@ -0,0 +1,150 @@
+.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28)
+.\"
+.\" Standard preamble:
+.\" ========================================================================
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Vb \" Begin verbatim text
+.ft CW
+.nf
+.ne \\$1
+..
+.de Ve \" End verbatim text
+.ft R
+.fi
+..
+.\" Set up some character translations and predefined strings.  \*(-- will
+.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
+.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
+.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
+.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
+.\" nothing in troff, for use with C<>.
+.tr \(*W-
+.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+.ie n \{\
+.    ds -- \(*W-
+.    ds PI pi
+.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
+.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
+.    ds L" ""
+.    ds R" ""
+.    ds C` ""
+.    ds C' ""
+'br\}
+.el\{\
+.    ds -- \|\(em\|
+.    ds PI \(*p
+.    ds L" ``
+.    ds R" ''
+.    ds C`
+.    ds C'
+'br\}
+.\"
+.\" Escape single quotes in literal strings from groff's Unicode transform.
+.ie \n(.g .ds Aq \(aq
+.el       .ds Aq '
+.\"
+.\" If the F register is turned on, we'll generate index entries on stderr for
+.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
+.\" entries marked with X<> in POD.  Of course, you'll have to process the
+.\" output yourself in some meaningful fashion.
+.\"
+.\" Avoid warning from groff about undefined register 'F'.
+.de IX
+..
+.nr rF 0
+.if \n(.g .if rF .nr rF 1
+.if (\n(rF:(\n(.g==0)) \{
+.    if \nF \{
+.        de IX
+.        tm Index:\\$1\t\\n%\t"\\$2"
+..
+.        if !\nF==2 \{
+.            nr % 0
+.            nr F 2
+.        \}
+.    \}
+.\}
+.rr rF
+.\" ========================================================================
+.\"
+.IX Title "wmfrog 1"
+.TH wmfrog 1 "2014-07-21" "wmfrog" "User Commands"
+.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
+.\" way too many mistakes in technical documents.
+.if n .ad l
+.nh
+.SH "NAME"
+wmfrog \- a dockapp for showing weather in graphical way
+.SH "SYNOPSIS"
+.IX Header "SYNOPSIS"
+.Vb 1
+\&  wmfrog [options] \-stattion <METAR station id>
+.Ve
+.SH "OPTIONS"
+.IX Header "OPTIONS"
+.IP "\fB\-delay minutes\fR" 4
+.IX Item "-delay minutes"
+Override time (in minutes) between updates. Default is 15.
+.IP "\fB\-m, \-metric\fR" 4
+.IX Item "-m, -metric"
+Display Temperature in metric unit: Celcius.
+.IP "\fB\-o offset\fR" 4
+.IX Item "-o offset"
+Time offset of location from \s-1UTC.\s0 Positive or negative integer
+expressed in hours, like +1 or \-7.
+.IP "\fB\-s, \-station\fR" 4
+.IX Item "-s, -station"
+Required option. The 4\-character \s-1METAR\s0 Station \s-1ID.\s0 See
+http://en.wikipedia.org/wiki/METAR
+.IP "\fB\-w knots\fR" 4
+.IX Item "-w knots"
+Set the maximum wind in \s-1KNOTS\s0 for percentage of max / scaling. Default
+is 50 Knots.
+.IP "\fB\-tmp directory\fR" 4
+.IX Item "-tmp directory"
+Set the temporary directory where the \s-1METAR\s0 data files are downloaded
+Default is \f(CW\*(C`/tmp\*(C'\fR.
+.IP "\fB\-l label\fR" 4
+.IX Item "-l label"
+Set displayed text to 4 character (max) label to replace the \s-1METAR\s0
+station id.
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+A dockapp for weather reports. Includes clouds (clear, few,
+scattered, broken, overcast ...); Precipitations (drizzle, rain, snow,
+ice christals: light/moderate or heavy); Special weather (Blowing wind
+/ Freezing / Thunderstorm, funnel cloud...); Humidity perentage; Wind
+speed (average & gust); Wind Direction; Temperature (Celcius or
+Fareinheit); Station name can be configured and weather report time is
+displayed.
+.PP
+To find out more about the \s-1METAR/TAF\s0 system, see
+\&\fIFrequently Asked Questions about \s-1METAR/SPECI\s0 and \s-1TAF\s0\fR at
+http://www.nws.noaa.gov/oso/oso1/oso12/faq.htm
+.PP
+To find your city Metar code go to \s-1NOAA\s0's Meteorological Station
+Information Lookup page \fIMeteorological Products Processed At The
+\&\s-1NWSTG\s0\fR at at http://www.nws.noaa.gov/tg/siteloc.php
+.SH "ENVIRONMENT"
+.IX Header "ENVIRONMENT"
+None.
+.SH "FILES"
+.IX Header "FILES"
+.IP "/tmp/<station\-id>/" 4
+.IX Item "/tmp/<station-id>/"
+Stored data files. The directory can be changed with option \fB\-tmp\fR
+.SH "SEE ALSO"
+.IX Header "SEE ALSO"
+\&\fIwmweather\fR\|(1)
+wmweather+(1)
+.SH "AUTHORS"
+.IX Header "AUTHORS"
+program was written by Thibaut Colar <tcolar at users.sourceforge.net>
+.PP
+This manual page is based on 0.1.6 version of the program. Updated by Jari
+Aalto <jari.aalto at cante.net>. Released under license \s-1GNU GPL\s0 v2 or (at
+your option) any later version. For more information about license, visit
+<http://www.gnu.org/copyleft/gpl.html>.
diff --git a/debian/wmfrog.1.pod b/debian/wmfrog.1.pod
deleted file mode 100644
index b5f1334..0000000
--- a/debian/wmfrog.1.pod
+++ /dev/null
@@ -1,109 +0,0 @@
-Rxu#  This is manual page in Perl POD format. Read more at
-#  http://perldoc.perl.org/perlpod.html or run command:
-#
-#     perldoc perlpod | less
-#
-#  To check the syntax:
-#
-#     podchecker *.pod
-#
-#  Create manual page with command:
-#
-#    pod2man PAGE.N.pod > PAGE.N
-
-=pod
-
-=head1 NAME
-
-wmfrog - a dockapp for showing weather in graphical way
-
-=head1 SYNOPSIS
-
-  wmfrog [options] -stattion <METAR station id>
-
-=head1 OPTIONS
-
-=over 4
-
-=item B<-delay minutes>
-
-Override time (in minutes) between updates. Default is 15.
-
-=item B<-m, -metric>
-
-Display Temperature in metric unit: Celcius.
-
-=item B<-o offset>
-
-Time offset of location from UTC. Positive or negative integer
-expressed in hours, like +1 or -7.
-
-=item B<-s, -station>
-
-Required option. The 4-character METAR Station ID. See
-http://en.wikipedia.org/wiki/METAR
-
-=item B<-w knots>
-
-Set the maximum wind in KNOTS for percentage of max / scaling. Default
-is 50 Knots.
-
-=item B<-tmp directory>
-
-Set the temporary directory where the METAR data files are downloaded
-Default is C</tmp>.
-
-=item B<-l label>
-
-Set displayed text to 4 character (max) label to replace the METAR
-station id.
-
-=back
-
-=head1 DESCRIPTION
-
-A dockapp for weather reports. Includes clouds (clear, few,
-scattered, broken, overcast ...); Precipitations (drizzle, rain, snow,
-ice christals: light/moderate or heavy); Special weather (Blowing wind
-/ Freezing / Thunderstorm, funnel cloud...); Humidity perentage; Wind
-speed (average & gust); Wind Direction; Temperature (Celcius or
-Fareinheit); Station name can be configured and weather report time is
-displayed.
-
-To find out more about the METAR/TAF system, see
-I<Frequently Asked Questions about METAR/SPECI and TAF> at
-http://www.nws.noaa.gov/oso/oso1/oso12/faq.htm
-
-To find your city Metar code go to NOAA's Meteorological Station
-Information Lookup page I<Meteorological Products Processed At The
-NWSTG> at at http://www.nws.noaa.gov/tg/siteloc.php
-
-=head1 ENVIRONMENT
-
-None.
-
-=head1 FILES
-
-=over 4
-
-=item /tmp/<station-id>/
-
-Stored data files. The directory can be changed with option B<-tmp>
-
-=back
-
-=head1 SEE ALSO
-
-wmweather(1)
-wmweather+(1)
-
-=head1 AUTHORS
-
-program was written by Thibaut Colar <tcolar at users.sourceforge.net>
-
-This manual page is based on 0.1.6 version of the program. Updated by Jari
-Aalto <jari.aalto at cante.net>. Released under license GNU GPL v2 or (at
-your option) any later version. For more information about license, visit
-<http://www.gnu.org/copyleft/gpl.html>.
-
-=cut

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmfrog.git



More information about the Pkg-wmaker-commits mailing list