[perl-Glib] Tell the CPAN indexer to ignore *.xs



commit 996e9edab5239bb8333180478ebfbc379fd175de
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date:   Sat Jun 6 15:27:07 2009 +0200

    Tell the CPAN indexer to ignore *.xs
    
    This keeps sites like search.cpan.org from listing the POD fragments found in
    the XS files.
    
    Also add a license header to Makefile.PL.
---
 Makefile.PL |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/Makefile.PL b/Makefile.PL
index 6ead057..6103add 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,6 +1,19 @@
+# Copyright (C) 2003-2009 by the gtk2-perl team (see the file AUTHORS for the
+# full list)
 #
-# $Id$
+# This library is free software; you can redistribute it and/or modify it under
+# the terms of the GNU Library General Public License as published by the Free
+# Software Foundation; either version 2.1 of the License, or (at your option)
+# any later version.
 #
+# This library 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 Library General Public License for
+# more details.
+#
+# You should have received a copy of the GNU Library General Public License
+# along with this library; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place - Suite 330, Boston, MA  02111-1307  USA.
 
 BEGIN { require 5.008; }
 
@@ -157,7 +170,7 @@ WriteMakefile(
     META_MERGE => {
       configure_requires => \%PREREQ_PM,
       no_index => {
-        files => [qw/xsapi.pod.head xsapi.pod.foot/],
+        files => [ xs_files, qw/xsapi.pod.head xsapi.pod.foot/],
         package => 'MY',
       },
     },



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]