[Pkg-wmaker-commits] [wmshutdown] 87/173: manpages now static
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Tue Aug 25 02:46:32 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmshutdown.
commit 7fda5eaa124b133a854fc13bf55ee97b7a464524
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Wed Jul 23 02:34:06 2014 -0500
manpages now static
---
debian/changelog | 11 ++++
debian/clean | 1 -
debian/{wmshutdown.manpages => manpages} | 0
debian/pod2man.mk | 64 ------------------
debian/rules | 14 ----
debian/wmshutdown-run.1 | 108 +++++++++++++++++++++++++++++++
debian/wmshutdown-run.1.pod | 53 ---------------
debian/wmshutdown.1 | 108 +++++++++++++++++++++++++++++++
debian/wmshutdown.1.pod | 53 ---------------
9 files changed, 227 insertions(+), 185 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index f2ab442..ae5d270 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,17 @@
wmshutdown (0.2-10) unstable; urgency=low
* New maintainer (Closes: #714261).
+ * Manpages now static instead of created during build.
+ - Add wmshutdown*.1.
+ - Remove debian/pod2man.mk and debian/wmshutdown*.1.pod.
+ - Remove man target from debian/rules.
+ - Remove debian/*.1 from debian/clean.
+ * debian/control
+ - Bump Standards-Version to 3.9.5, no changes required.
+ * debian/patches/30-clang_ftbfs_Wreturn-type.patch
+ - Fix to allow building with clang instead of gcc. Thanks to Nicolas
+ Sévelin-Radiguet <nicosr at free.fr> (Closes: #740964).
+ * Move debian/wmshutdown.manpages to debian/manpages.
-- Doug Torrance <dtorrance at monmouthcollege.edu> Wed, 23 Jul 2014 00:36:26 -0500
diff --git a/debian/clean b/debian/clean
index 2b24d85..0757ce6 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1,4 +1,3 @@
-debian/*.1
wmshutdown-run
wmshutdown
*.o
diff --git a/debian/wmshutdown.manpages b/debian/manpages
similarity index 100%
rename from debian/wmshutdown.manpages
rename to debian/manpages
diff --git a/debian/pod2man.mk b/debian/pod2man.mk
deleted file mode 100644
index 3d8d1db..0000000
--- a/debian/pod2man.mk
+++ /dev/null
@@ -1,64 +0,0 @@
-# pod2man.mk -- Makefile portion to convert *.pod files to manual pages
-#
-# Copyright information
-#
-# Copyright (C) 2008-2009 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. Write this to 'install'
-# target:
-#
-# install: build $(MANPAGE)
-
-ifneq (,)
- This makefile requires GNU Make.
-endif
-
-# This variable *must* be set when calling
-PACKAGE ?= package
-
-# Optional variables to set
-MANSECT ?= 1
-PODCENTER ?= $$(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)" \
- --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 816b05e..ef7e658 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,22 +1,8 @@
#!/usr/bin/make -f
-PACKAGE = wmshutdown
-PACKAGE2 = wmshutdown-run
-
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
- $(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE2) makeman
-
-override_dh_auto_build: man
- dh_auto_build
-
%:
dh $@
-
-.PHONY: man
-
-# End of file
diff --git a/debian/wmshutdown-run.1 b/debian/wmshutdown-run.1
new file mode 100644
index 0000000..fa07221
--- /dev/null
+++ b/debian/wmshutdown-run.1
@@ -0,0 +1,108 @@
+.\" 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 "wmshutdown-run 1"
+.TH wmshutdown-run 1 "2014-07-23" "wmshutdown-run" "2014-07-23"
+.\" 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"
+wmshutdown \- suid program called by wmshutdown(1) to call /sbin/shutdown
+.SH "SYNOPSIS"
+.IX Header "SYNOPSIS"
+.Vb 1
+\& wmshutdown\-run
+.Ve
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+Wmshutdown-run is helper program for graphical dock application
+\&\fIwmshutdown\fR\|(1) that allows user to shutdown or reboot the workstation just by
+clickig a button on the desktop.
+.SH "OPTIONS"
+.IX Header "OPTIONS"
+None.
+.SH "ENVIRONMENT"
+.IX Header "ENVIRONMENT"
+None.
+.SH "FILES"
+.IX Header "FILES"
+None.
+.SH "SEE ALSO"
+.IX Header "SEE ALSO"
+\&\fIwmshutdown\-run\fR\|(1)
+.SH "AUTHORS"
+.IX Header "AUTHORS"
+This manual page was written by Jari Aalto <jari.aalto at cante.net>, for
+the Debian \s-1GNU\s0 system (but may be used by others). 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/wmshutdown-run.1.pod b/debian/wmshutdown-run.1.pod
deleted file mode 100644
index 3af6754..0000000
--- a/debian/wmshutdown-run.1.pod
+++ /dev/null
@@ -1,53 +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
-
-wmshutdown - suid program called by wmshutdown(1) to call /sbin/shutdown
-
-=head1 SYNOPSIS
-
- wmshutdown-run
-
-=head1 DESCRIPTION
-
-Wmshutdown-run is helper program for graphical dock application
-wmshutdown(1) that allows user to shutdown or reboot the workstation just by
-clickig a button on the desktop.
-
-=head1 OPTIONS
-
-None.
-
-=head1 ENVIRONMENT
-
-None.
-
-=head1 FILES
-
-None.
-
-=head1 SEE ALSO
-
-wmshutdown-run(1)
-
-=head1 AUTHORS
-
-This manual page was written by Jari Aalto <jari.aalto at cante.net>, for
-the Debian GNU system (but may be used by others). 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
diff --git a/debian/wmshutdown.1 b/debian/wmshutdown.1
new file mode 100644
index 0000000..c7a155c
--- /dev/null
+++ b/debian/wmshutdown.1
@@ -0,0 +1,108 @@
+.\" 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 "wmshutdown 1"
+.TH wmshutdown 1 "2014-07-23" "wmshutdown" "2014-07-23"
+.\" 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"
+wmshutdown \- A graphical dock application to shutdown computer
+.SH "SYNOPSIS"
+.IX Header "SYNOPSIS"
+.Vb 1
+\& wmshutdown
+.Ve
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+Wmshutdown is a dock application (for window manager) that can shutdown or
+reboot the workstation by clickig a button on the desktop. It effectively
+calls \f(CW\*(C`shutdown now \-h\*(C'\fR via a helper command \fIwmshutdown\-run\fR\|(1).
+.SH "OPTIONS"
+.IX Header "OPTIONS"
+None.
+.SH "ENVIRONMENT"
+.IX Header "ENVIRONMENT"
+None.
+.SH "FILES"
+.IX Header "FILES"
+None.
+.SH "SEE ALSO"
+.IX Header "SEE ALSO"
+\&\fIwmshutdown\-run\fR\|(1)
+.SH "AUTHORS"
+.IX Header "AUTHORS"
+This manual page was written by Jari Aalto <jari.aalto at cante.net>, for
+the Debian \s-1GNU\s0 system (but may be used by others). 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/wmshutdown.1.pod b/debian/wmshutdown.1.pod
deleted file mode 100644
index 133a749..0000000
--- a/debian/wmshutdown.1.pod
+++ /dev/null
@@ -1,53 +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
-
-wmshutdown - A graphical dock application to shutdown computer
-
-=head1 SYNOPSIS
-
- wmshutdown
-
-=head1 DESCRIPTION
-
-Wmshutdown is a dock application (for window manager) that can shutdown or
-reboot the workstation by clickig a button on the desktop. It effectively
-calls C<shutdown now -h> via a helper command wmshutdown-run(1).
-
-=head1 OPTIONS
-
-None.
-
-=head1 ENVIRONMENT
-
-None.
-
-=head1 FILES
-
-None.
-
-=head1 SEE ALSO
-
-wmshutdown-run(1)
-
-=head1 AUTHORS
-
-This manual page was written by Jari Aalto <jari.aalto at cante.net>, for
-the Debian GNU system (but may be used by others). 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/wmshutdown.git
More information about the Pkg-wmaker-commits
mailing list