> if the search engine would index GTop.pod, then the package would turn up
 > with keywords such as memory, cpu, etc.
 ...
 > i do not plan any further documentation or advertising for GTop, but
 > patches are welcome of course.

 Here's a patch to generate the README from GTop.pod.  It also adds a
 blurb explaining what libgtop is.



--- Makefile.PL.orig    Tue Nov 28 11:19:32 2000
+++ Makefile.PL Tue Nov 28 11:15:39 2000
@@ -65,6 +65,9 @@
 
  http://home-of-linux.org/gnome/libgtop/
 
+LibGTop is a library that fetches system related information such as CPU Load,
+Memory Usage and information about running processes.
+
 =head1 CLASSES
 
 EOF
@@ -200,6 +203,18 @@
 
 Doug MacEachern
 
+=head1 SEE ALSO
+
+Stas Bekman's Apache::VMonitor
+
+ http://www.cpan.org/modules/by-module/Apache/
+
+=head1 COPYRIGHT
+
+The source files in this distribution are 
+Copyright (C) 1999, Doug MacEachern, and are licensed for
+use under the same terms as Perl itself.
+
 EOF
 
 close TYPEMAP;
@@ -244,6 +259,7 @@
    'macro' => {
          CVSROOT => 'modperl.com:/local/cvs_repository',
    },
+   dist => {DIST_DEFAULT => 'mydist'},
 );
 
 sub MY::postamble { 
@@ -252,6 +268,11 @@
 cvs_tag :
        cvs -d $(CVSROOT) tag v$(VERSION_SYM) . 
        @echo update GTop.pm VERSION now 
+
+README : GTop.pod
+       pod2text GTop.pod >README
+
+mydist : README tardist
+
 EOF
 } 
-

Reply via email to