split manpage, fix manpage version and center
authorRicardo Mones <ricardo@mones.org>
Wed, 23 Sep 2009 14:03:26 +0000 (14:03 +0000)
committerRicardo Mones <ricardo@mones.org>
Wed, 23 Sep 2009 14:03:26 +0000 (14:03 +0000)
ChangeLog
Makefile
VERSION
clawsker
clawsker.pod [new file with mode: 0644]

index f9a12f2b83c6372d70af5b1619ce499eab42bfa8..c693fb9f5aa3d14d211eddd6ecd59174bb0b9636 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-09-23 16:01  mones   0.7.0svn301
+
+       * clawsker
+       * clawsker.pod          **NEW**
+       * Makefile
+               Split manual info to its own file
+               Fix manpage header version and center
+
 2009-07-17 12:03  mones   0.7.0svn271
 
        * clawsker
index 954ec3027e6cf03bc93a8c5812977aad65f43226..48b983496139d530387e4cf8a926720ae16d584f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,9 +16,8 @@ all: build
 
 build:
        -mkdir build
-       sed -e "s,@PREFIX@,${PREFIX},;s,@LIBDIR@,${LIBDIR},;s,@VERSION@,${VERSION}," \
-               < ${NAME} > build/${NAME}
-       pod2man ${NAME} > build/${NAME}.1
+       sed -e "s,@PREFIX@,${PREFIX},;s,@LIBDIR@,${LIBDIR},;s,@VERSION@,${VERSION}," < ${NAME} > build/${NAME}
+       pod2man --release ${VERSION} -c '' ${NAME}.pod > build/${NAME}.1
        ${MAKE} -C po build
        
 
diff --git a/VERSION b/VERSION
index 684b103a1757887252b952e7cd86615e4deb2931..4928536061ff3e5fdc8718f4f7425ce8989dba49 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.7.0svn271
+0.7.0svn301
index 53b70af32ff9598ad124ce0d46acdcc7c381623c..2ce29d52ec9b2c6c4723a7940034369037f31f8c 100755 (executable)
--- a/clawsker
+++ b/clawsker
@@ -1,87 +1,8 @@
 #!/usr/bin/perl -w
 #
+# Clawsker :: A Claws Mail Tweaker
 # $Id$
 #
-
-=pod
-
-=head1 NAME
-
-Clawsker - A Claws Mail Tweaker
-
-=head1 SYNOPSIS
-
-clawsker [options]
-
-=head1 DESCRIPTION
-
-Clawsker is an applet to edit the so called Claws Mail hidden preferences.
-
-Claws Mail is a fast, lightweight and feature-rich MUA with a high number 
-of configurable options. To keep the binary small and fast some of these 
-preferences which are not widely used are not provided with a graphical
-interface for inspection and/or modification.
-
-Users wanting to edit such preferences had to face raw editing of their 
-configuration files, now you can do it with a convenient GTK2 interface
-using Clawsker.
-
-=head1 OPTIONS
-
---help
-       Shows a brief help screen.
-
---version
-       Show information about program, Claws Mail and Perl-GTK versions.
-
---verbose
-       Tells more on the standard output.
-
---alternate-config-dir <dir>
-       Uses <dir> as Claws Mail configuration dir.
-
---clawsrc <file>
-       Uses <file> as Claws Mail resource configuration file. This sets
-       the full file name overriding any previous setting.
-
-Multiple options are allowed, although only the last one has effect. Weird
-option specifications may produce weird results (but otherwise correct).
-       
-=head1 LIMITATIONS
-
-A running Claws Mail cannot be detected if using the --clawsrc option because
-the directory is not assumed to be a Claws Mail configuration dir. If that is 
-the case use the --alternate-config-dir option instead.
-
-=head1 SEE ALSO
-
-Clawsker homepage "L<http://www.claws-mail.org/clawsker>"
-
-=head1 AUTHOR
-
-Main author is Ricardo Mones E<lt>ricardo@mones.orgE<gt> with the help of
-others. See the AUTHORS file on source tarball for a detailed list of 
-contributors.
-
-=head1 LICENSE
-
-Copyright (c) 2007-2009 by Ricardo Mones Lastra
-
-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 3 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 E<lt>http://www.gnu.org/licenses/E<gt>.
-
-=cut
-
 use strict;
 use encoding 'utf8';
 use Glib qw(TRUE FALSE);
diff --git a/clawsker.pod b/clawsker.pod
new file mode 100644 (file)
index 0000000..87a0bea
--- /dev/null
@@ -0,0 +1,83 @@
+#
+# Clawsker manual page
+# $Id$
+#
+=pod
+
+=head1 NAME
+
+Clawsker - A Claws Mail Tweaker
+
+=head1 SYNOPSIS
+
+clawsker [options]
+
+=head1 DESCRIPTION
+
+Clawsker is an applet to edit the so called Claws Mail hidden preferences.
+
+Claws Mail is a fast, lightweight and feature-rich MUA with a high number 
+of configurable options. To keep the binary small and fast some of these 
+preferences which are not widely used are not provided with a graphical
+interface for inspection and/or modification.
+
+Users wanting to edit such preferences had to face raw editing of their 
+configuration files, now you can do it with a convenient GTK2 interface
+using Clawsker.
+
+=head1 OPTIONS
+
+--help
+       Shows a brief help screen.
+
+--version
+       Show information about program, Claws Mail and Perl-GTK versions.
+
+--verbose
+       Tells more on the standard output.
+
+--alternate-config-dir <dir>
+       Uses <dir> as Claws Mail configuration dir.
+
+--clawsrc <file>
+       Uses <file> as Claws Mail resource configuration file. This sets
+       the full file name overriding any previous setting.
+
+Multiple options are allowed, although only the last one has effect. Weird
+option specifications may produce weird results (but otherwise correct).
+       
+=head1 LIMITATIONS
+
+A running Claws Mail cannot be detected if using the --clawsrc option because
+the directory is not assumed to be a Claws Mail configuration dir. If that is 
+the case use the --alternate-config-dir option instead.
+
+=head1 SEE ALSO
+
+Clawsker homepage "L<http://www.claws-mail.org/clawsker>"
+
+=head1 AUTHOR
+
+Main author is Ricardo Mones E<lt>ricardo@mones.orgE<gt> with the help of
+others. See the AUTHORS file on source tarball for a detailed list of 
+contributors.
+
+=head1 LICENSE
+
+Copyright (c) 2007-2009 by Ricardo Mones Lastra
+
+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 3 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 E<lt>http://www.gnu.org/licenses/E<gt>.
+
+=cut
+