logo       

Fwd: [svt_contour@xxxxxxxxx: ExtUtils::MakeMaker question]: msg#00027

Subject: Fwd: [svt_contour@xxxxxxxxx: ExtUtils::MakeMaker question]
----- Forwarded message from Adam Wilson <svt_contour@xxxxxxxxx> -----

From: Adam Wilson <svt_contour@xxxxxxxxx>
Date: Wed, 24 Nov 2004 12:07:27 -0800 (PST)
To: schwern@xxxxxxxxx
Subject: ExtUtils::MakeMaker question


Hi there,
  I'm trying to build a distribution of an in-house
Perl module and along with it, I'd like to distribute
some docs to a different directory.  The docs are in
the man directory here:

[awilson@sitt-automation-dev Release]$ ls
convert_sgml_docs  lib  Makefile.PL  man  MANIFEST 
Release.pl
[awilson@sitt-automation-dev Release]$

They are just sgml files.  Here is my Makefile.PL.

[awilson@sitt-automation-dev Release]$ cat Makefile.PL
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to
influence
# the contents of the Makefile that is written.
WriteMakefile(
  'NAME'  => 'Release',
  'VERSION_FROM' => 'lib/Release.pm', # finds $VERSION
   'EXE_FILES' => ['Release.pl'], # Exe's
   'INSTALLSCRIPT' => '/usr/local/bin',
   'INSTALLSITEMAN1DIR' =>
'/usr/local/apache/htdocs/doc/Release',
   'PPM_INSTALL_SCRIPT' => 'convert_sgml_docs',
   'PPM_INSTALL_EXEC'   => '/usr/bin/perl',
  'PREREQ_PM' => {'ErrorObj' => '1.5.0',
                  'PerlMakeFileParse' => '0',
                  'ExtUtils::Manifest' => '0',
                  'Net::FTP' => 0,
                  'IO::File' => 0,
                  'File::Copy' => 0},
);

[awilson@sitt-automation-dev Release]$


I am trying to run the script "convert_sgml_docs"
which is just a perl script (that works, I ran it by
hand with no issues) to distribute these documents to
a directory in apache's htdocs directory.  It doesn't
appear that when I run "make install" for my perl
module, that this script is executed.  In the man page
for ExtUtils::MakeMaker, it says that this
PPM_INSTALL_SCRIPT will be run after the perl package
manager finishes?  I thought that meant it would be
run before "make install" finished.
  When I do a grep for my script in the Makefile that
is generated by perl Makefile.pl, it is listed in
there, but I don't understand what the line represents
as far as the Makefile goes.

[root@sitt-automation-dev Release-2.3.4]# grep
convert_sgml_docs Makefile
#     PPM_INSTALL_SCRIPT => q[convert_sgml_docs]
        @$(PERL) -e "print qq{\t\t<OS
NAME=\"$(OSNAME)\" />\n\t\t<ARCHITECTURE
NAME=\"i386-linux-thread-multi\" />\n\t\t<INSTALL
EXEC=\"/usr/bin/perl\">convert_sgml_docs</INSTALL>\n\t\t<CODEBASE
HREF=\"\" />\n\t</IMPLEMENTATION>\n</SOFTPKG>\n}" >>
$(DISTNAME).ppd
[root@sitt-automation-dev Release-2.3.4]#

Any help would be appreciated.

Thanks,
Adam Wilson




----- End forwarded message -----

-- 
Michael G Schwern        schwern@xxxxxxxxx  http://www.pobox.com/~schwern/
Look!  Defenseless babies!



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe