develooper Front page | perl.vmsperl | Postings from January 2002

Re: [PATCH] Devel::PPPort Makfile.PL fixes

Thread Previous | Thread Next
Nick Ing-Simmons
January 2, 2002 03:07
Re: [PATCH] Devel::PPPort Makfile.PL fixes
Message ID:
Craig A . Berry <> writes:
>As far as I can tell, the OBJ_EXT macro already includes the dot on all

Had not noticed that.

>The "-" prefixing the touch command renders it invalid on VMS;
>does that have meaning somewhere or was that just a typo?

Prepending - means "don't stop if this command fails" in most makes
(including dmake on Win32).

I added the '-' because it was touching the source files, and as
they cam out of perforce/tar read-only Win32 cannot 'touch' them.
Now the object files are the targets I don't think we
need the rule at all - it is sufficient just to say objects
depend on the .h file.

>--- ext/Devel/PPPort/Makefile.PL;-0     Mon Dec 31 09:40:54 2001
>+++ ext/Devel/PPPort/Makefile.PL        Mon Dec 31 18:57:04 2001
>@@ -22,8 +22,8 @@
> ppport.h:      ppport_h.PL
>        \$(PERL) "-I\$(PERL_ARCHLIB)" "-I\$(PERL_LIB)" ppport_h.PL
>-PPPort.xs module2.\$(OBJ_EXT) module3.\$(OBJ_EXT) : ppport.h
>-       -\$(TOUCH) \$@
>+PPPort.xs module2\$(OBJ_EXT) module3\$(OBJ_EXT) : ppport.h
>+       \$(TOUCH) \$@
Nick Ing-Simmons

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About