Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: let Makefile.PL to do the Readme file for me -- new target?

by stevieb (Canon)
on Jan 19, 2021 at 17:16 UTC ( [id://11127105]=note: print w/replies, xml ) Need Help??


in reply to Re: let Makefile.PL to do the Readme file for me -- new target?
in thread let Makefile.PL to do the Readme file for me -- new target?

Don't quote me on this, but years and years ago, I almost seem to recall adding stuff to the built-in targets:

install:: shell command \ do things dist:: ....

Update: In fact, something like this:

install:: cgi conf graphics docs libs templates retest clean:: clean_sourcedirs clean_test cgi: install -m 0500 -o www -g www src/cgi-bin/accounting.cgi ${CGIDIR} clean_sourcedirs: rm -f doc/*.html rm -f doc/*.conf clean_test: rm -f t/test.db rm -f t/test.conf-dist ... and other things called by the main directives, such as conf, grap +hics for install...

Replies are listed 'Best First'.
Re^3: let Makefile.PL to do the Readme file for me -- new target?
by pryrt (Abbot) on Jan 19, 2021 at 17:56 UTC
    quoting stevieb on this, in direct violation of his wishes ;-)
    Don't quote me on this, but years and years ago, I almost seem to recall adding stuff to the built-in targets:

    yes. My linked Makefile.PL shows a realclean:: section, which adds new tasks to an existing target of that same name. It adds it after any existing actions for the target.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2024-03-29 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found