develooper Front page | perl.beginners | Postings from September 2009

Makefile.PL

From:
Patrick Dupre
Date:
September 5, 2009 10:06
Subject:
Makefile.PL
Message ID:
Pine.SOC.4.63.0909051801220.12785@unix0.york.ac.uk
Hello,

In my Makefile.PL, how can I have 2 MYEXTLIB ?
I have 2 directories, on is OK, it is mylib
I also would like to make a cd mylib2, and run the Makefile (make 
install).
I tried to change the
sub MY::postamble {
   '
   $(MYEXTLIB): mylib/Makefile
 	cd mylib && $(MAKE) $(PASSTHRU)
   $(MYEXTLIB2): mylib2/Makefile
 	cd fit_proc && $(MAKE) install $(PASSTHRU)
   ' ;
   }

but it does not work.

Thank.

-- 
---
==========================================================================
  Patrick DUPRÉ                      |   |
  Department of Chemistry            |   |    Phone: (44)-(0)-1904-434384
  The University of York             |   |    Fax:   (44)-(0)-1904-432516
  Heslington                         |   |
  York YO10 5DD  United Kingdom      |   |    email: pd520@york.ac.uk
==========================================================================


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About