Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: seeking Makefile.PL wisdom -- how to install non-PM file?

by rafl (Friar)
on Jul 15, 2006 at 15:23 UTC ( #561451=note: print w/ replies, xml ) Need Help??


in reply to seeking Makefile.PL wisdom -- how to install non-PM file?

I usually do something like that:

postamble(<<"END_MAKEFILE"); config :: \t\$(NOECHO) \$(MOD_INSTALL) \\ \t\t\"$dir\" \$(INST_AUTODIR) END_MAKEFILE

where $dir is a directory with those non-pm files I'd like to install.

Cheers, Flo


Comment on Re: seeking Makefile.PL wisdom -- how to install non-PM file?
Download Code
Re^2: seeking Makefile.PL wisdom -- how to install non-PM file?
by vkon (Curate) on Jul 15, 2006 at 16:13 UTC
    Thanks!

    But is it safe to do so?
    Are these lines are inter-make-compatible? (at least nmake and make and dmake?)

    I also found a person with the same problem -- http://ungwe.org:30000/blog/2002/09/15/22:05/

    For the record, currently I added '.pm' fake extension so file installed as needed
    but I am uncomfortable with this solution.

    Thanks once again!
    Vadim.

      It works at least with GNU make and nmake. I haven't tried other make implementations so far and didn't even know that dmake existed.

      Cheers, Flo

      No.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://561451]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2015-07-07 08:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls