gnome-perl-introspection r33 - in trunk/Glib-Object-Introspection: . lib lib/Glib lib/Glib/Object



Author: tsch
Date: Sat Nov  8 20:08:50 2008
New Revision: 33
URL: http://svn.gnome.org/viewvc/gnome-perl-introspection?rev=33&view=rev

Log:
Move the module file into its correct place in the folder hierarchy.


Added:
   trunk/Glib-Object-Introspection/lib/
   trunk/Glib-Object-Introspection/lib/Glib/
   trunk/Glib-Object-Introspection/lib/Glib/Object/
   trunk/Glib-Object-Introspection/lib/Glib/Object/Introspection.pm
      - copied unchanged from r32, /trunk/Glib-Object-Introspection/Introspection.pm
Removed:
   trunk/Glib-Object-Introspection/Introspection.pm
Modified:
   trunk/Glib-Object-Introspection/Makefile.PL

Modified: trunk/Glib-Object-Introspection/Makefile.PL
==============================================================================
--- trunk/Glib-Object-Introspection/Makefile.PL	(original)
+++ trunk/Glib-Object-Introspection/Makefile.PL	Sat Nov  8 20:08:50 2008
@@ -67,9 +67,11 @@
 
 # --------------------------------------------------------------------------- #
 
+my $pm_file = 'lib/Glib/Object/Introspection.pm';
+
 our @xs_files = <xs/*.xs>;
 our %pod_files = (
-  'Introspection.pm' => '$(INST_MAN3DIR)/Glib::Object::Introspection.$(MAN3EXT)',
+  $pm_file => '$(INST_MAN3DIR)/Glib::Object::Introspection.$(MAN3EXT)',
   Glib::MakeHelper->do_pod_files (@xs_files),
 );
 
@@ -81,7 +83,7 @@
 $idl->set_libs($i11n_pkgcfg{libs} . ' ' . $ffi_pkgcfg{libs});
 $idl->add_c(qw(build/gobject-introspection-perl-types.c));
 $idl->add_xs(@xs_files);
-$idl->add_pm('Introspection.pm' => '$(INST_LIBDIR)/Introspection.pm');
+$idl->add_pm($pm_file => '$(INST_LIBDIR)/Introspection.pm');
 $idl->add_typemaps(map { cwd() . "/$_" }
                      qw(gobject-introspection.typemap
                         build/gobject-introspection-perl.typemap));
@@ -95,8 +97,8 @@
 
 WriteMakefile(
   NAME          => 'Glib::Object::Introspection',
-  VERSION_FROM  => 'Introspection.pm',
-  ABSTRACT_FROM => 'Introspection.pm',
+  VERSION_FROM  => $pm_file,
+  ABSTRACT_FROM => $pm_file,
   PREREQ_PM     => \%pre_reqs,
   XSPROTOARG    => '-noprototypes',
   MAN3PODS      => \%pod_files,



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