Is there any Makefile.pl example?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Is there any Makefile.pl example?

Yu Wang
Hi,

I have written a program using Gtk2 in Perl. It's the first time I write code in
Perl, so I need some help in writting the Makefile.pl

I have 1 file for main program, and 5 files for modules. Besides that, I also
have document files and some data files to be accessed by the code.

The desired paths are:

main program : $PREFIX/bin
modules :      $PERL_MODULES_DIRECTORY
docs :         $PREFIX/doc
data :         $PREFIX/share/program_name

I have read a tutorial about Makefile.pl, but it only teaches me how to install
modules in to perl module directories. It seems that I couldn't find a tutorial
on how to write Makefile.pl to perl applications.

So is there anyone can provide an example or suggest some directions?

Any help is greatly appreciated!

Yu Wang

_______________________________________________
gtk-perl-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
Reply | Threaded
Open this post in threaded view
|

Re: Is there any Makefile.pl example?

Jan Hudec
On Tue, Aug 09, 2005 at 14:42:22 +0000, Yu Wang wrote:
> I have written a program using Gtk2 in Perl. It's the first time I write code in
> Perl, so I need some help in writting the Makefile.pl

Start with reading perlnewmod manual page (perldoc page). It should give you
the necessary hints and references.

-------------------------------------------------------------------------------
                                                 Jan 'Bulb' Hudec <[hidden email]>

_______________________________________________
gtk-perl-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

signature.asc (196 bytes) Download Attachment