[Pkg-wmaker-commits] [wmitime] 86/127: Include manpage rather than creating during build. Remove pod2man.mk and wmitime.1.pod, add wmtime.1, and remove man target from debian/rules.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Aug 22 01:34:40 UTC 2015


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

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

commit 1c45e4347b32b483439fbdb0714935778c9f4ab0
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Mon Aug 4 01:33:40 2014 -0500

    Include manpage rather than creating during build.  Remove pod2man.mk and wmitime.1.pod, add wmtime.1, and remove man target from debian/rules.
---
 debian/pod2man.mk    |  70 ------------------------------
 debian/rules         |   8 +---
 debian/wmitime.1     | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/wmitime.1.pod |  73 -------------------------------
 4 files changed, 121 insertions(+), 150 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 9910322..0763837 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,16 +1,12 @@
 #!/usr/bin/make -f
 
-PACKAGE	   = wmitime
 MAKE_FLAGS = -C wmitime
 
 export DEB_BUILD_MAINT_OPTIONS	= hardening=+all
 export DEB_CFLAGS_MAINT_APPEND	= -Wall -pedantic
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
-man:
-	$(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE) makeman
-
-override_dh_auto_build: man
+override_dh_auto_build:
 	$(MAKE) $(MAKE_FLAGS) FLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"
 
 override_dh_auto_clean:
@@ -19,6 +15,4 @@ override_dh_auto_clean:
 %:
 	dh $@
 
-.PHONY: man
-
 # End of file
diff --git a/debian/wmitime.1 b/debian/wmitime.1
new file mode 100644
index 0000000..be7bd90
--- /dev/null
+++ b/debian/wmitime.1
@@ -0,0 +1,120 @@
+.\" 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 "wmitime 1"
+.TH wmitime 1 "2014-08-04" "wmitime" "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"
+wmitime \- Window Maker dock app displaying date, clock and internet time
+.SH "SYNOPSIS"
+.IX Header "SYNOPSIS"
+.Vb 1
+\&  wmitime [options]
+.Ve
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+WMitime is yet another clock dock app, which shows standard time,
+date, as well as the new internet time <http://www.swatch.com/>.
+.SH "OPTIONS"
+.IX Header "OPTIONS"
+.IP "\fB\-12\fR" 4
+.IX Item "-12"
+12\-hour mode
+.IP "\fB\-display <display name\fR>" 4
+.IX Item "-display <display name>"
+Specify X display
+.IP "\fB \-geometry +XPOS+YPOS\fR" 4
+.IX Item " -geometry +XPOS+YPOS"
+Initial window position.
+.IP "\fB\-h\fR" 4
+.IX Item "-h"
+Print available options.
+.IP "\fB\-v\fR" 4
+.IX Item "-v"
+Print the version number.
+.SH "ENVIRONMENT"
+.IX Header "ENVIRONMENT"
+None.
+.SH "FILES"
+.IX Header "FILES"
+None.
+.SH "SEE ALSO"
+.IX Header "SEE ALSO"
+\&\f(CWwmtime(1)\fR
+.SH "AUTHORS"
+.IX Header "AUTHORS"
+This manual page was written by Lenart Janos <ocsi at debian.org>, for
+the Debian \s-1GNU\s0 system (but may be used by others). Updated by Jari
+Aalto <jari.aalto at cante.net>.
diff --git a/debian/wmitime.1.pod b/debian/wmitime.1.pod
deleted file mode 100644
index eee3cc0..0000000
--- a/debian/wmitime.1.pod
+++ /dev/null
@@ -1,73 +0,0 @@
-#  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
-
-wmitime - Window Maker dock app displaying date, clock and internet time
-
-=head1 SYNOPSIS
-
-  wmitime [options]
-
-=head1 DESCRIPTION
-
-WMitime is yet another clock dock app, which shows standard time,
-date, as well as the new internet time <http://www.swatch.com/>.
-
-=head1 OPTIONS
-
-=over 4
-
-=item B<-12>
-
-12-hour mode
-
-=item B<-display <display name>>
-
-Specify X display
-
-=item B< -geometry +XPOS+YPOS>
-
-Initial window position.
-
-=item B<-h>
-
-Print available options.
-
-=item B<-v>
-
-Print the version number.
-
-=back
-
-=head1 ENVIRONMENT
-
-None.
-
-=head1 FILES
-
-None.
-
-=head1 SEE ALSO
-
-C<wmtime(1)>
-
-=head1 AUTHORS
-
-This manual page was written by Lenart Janos <ocsi at debian.org>, for
-the Debian GNU system (but may be used by others). Updated by Jari
-Aalto <jari.aalto at cante.net>.
-
-=cut

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



More information about the Pkg-wmaker-commits mailing list