Update of /cvsroot/perl-win32-gui/Win32-GUI
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26933
Modified Files:
CHANGELOG Makefile.PL
Log Message:
Change how we handle sample files to remove warning in cygwin
Index: Makefile.PL
===================================================================
RCS file: /cvsroot/perl-win32-gui/Win32-GUI/Makefile.PL,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** Makefile.PL 1 Feb 2008 13:29:49 -0000 1.28
--- Makefile.PL 1 Feb 2008 14:25:28 -0000 1.29
***************
*** 5,8 ****
--- 5,9 ----
use File::Spec();
+ use File::Find();
# Bug in ExUtils::MakeMaker 5.45 that ships with ActiveState Perl
# 5.6.1, writes the subdirs target with dmake syntax, that breaks
***************
*** 213,216 ****
--- 214,220 ----
$arg_object .= ' GUI.res' if $main::USERESOURCE;
+ my @demos;
+ File::Find::find(sub { push @demos, $File::Find::name if $File::Find::name =~ /\.(pl|bmp|ico|cur)$/ }, 'samples');
+
my %MakefileArgs = (
NAME => 'Win32::GUI',
***************
*** 242,247 ****
macro => {
BUILD_TOOLS => './build_tools',
- INST_DEMO => '$(INST_LIBDIR)/GUI/demos',
PPMDISTVNAME => '$(DISTVNAME)-PPM-' . substr($Config{version},0,3),
},
clean => {
--- 246,252 ----
macro => {
BUILD_TOOLS => './build_tools',
PPMDISTVNAME => '$(DISTVNAME)-PPM-' . substr($Config{version},0,3),
+ INST_DEMODIR => '$(INST_LIBDIR)/GUI/demos',
+ DEMOS => "@demos",
},
clean => {
***************
*** 392,400 ****
$(NOECHO) $(PERL) -I$(BUILD_TOOLS) $(BUILD_TOOLS)/doHTMLDocs.pl
! demos:
! $(MKPATH) $(INST_DEMO)
! -$(CP) samples/* $(INST_DEMO)
! all:: poddocs demos
DOC_FRAG
--- 397,412 ----
$(NOECHO) $(PERL) -I$(BUILD_TOOLS) $(BUILD_TOOLS)/doHTMLDocs.pl
! pure_all :: demo_to_blib
! $(NOECHO) $(NOOP)
! demo_to_blib: $(DEMOS)
! $(NOECHO) $(MKPATH) $(INST_DEMODIR)
! $(CP) $? $(INST_DEMODIR)
! $(NOECHO) $(TOUCH) demo_to_blib
!
! clean ::
! -$(RM_F) demo_to_blib
!
! all:: poddocs
DOC_FRAG
Index: CHANGELOG
===================================================================
RCS file: /cvsroot/perl-win32-gui/Win32-GUI/CHANGELOG,v
retrieving revision 1.134
retrieving revision 1.135
diff -C2 -d -r1.134 -r1.135
*** CHANGELOG 1 Feb 2008 13:33:22 -0000 1.134
--- CHANGELOG 1 Feb 2008 14:25:28 -0000 1.135
***************
*** 6,9 ****
--- 6,14 ----
Win32-GUI ChangeLog
===================
+ + [Robert May] : 1 February 2008 - Sample handling
+ - Makefile.PL - change how we handle build of the samples
+
+ Win32-GUI ChangeLog
+ ===================
+ [Robert May] : 1 February 2008 - Prepare for 1.06 release
- Increment version numbers of changed modules. Set Win32::GUI version
|