Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Perl from within a makefileby sg (Pilgrim) |
on Dec 17, 2007 at 02:49 UTC ( [id://657363]=perlquestion: print w/replies, xml ) | Need Help?? |
sg has asked for the wisdom of the Perl Monks concerning the following question:
Starting with a c-header file, foo.h, that has the line:
I would like to update the time-stamp portion of the line by issuing the command: I can write a perl script that makes the update, and have the command "make version" end up calling that script. I am wondering if there a way to in-line perl in the Makefile to achieve the same end?
Back to
Seekers of Perl Wisdom
|
|