develooper Front page | perl.perl5.porters | Postings from November 2003

Re: useless, tedious re-makings when building perl

Thread Previous
Michael G Schwern
November 21, 2003 22:01
Re: useless, tedious re-makings when building perl
Message ID:
On Sat, Nov 22, 2003 at 05:12:17AM +0200, Enache Adrian wrote:
> Of course is not out of date wrt. Peek.o, etc.
> This affects all targets that depend on blibdirs:
> blibdirs ::
>         $(NOECHO) $(MKPATH) \
> 	etc
> It seems that changing the ':' to '::' was intentional (it's in the
> MM 6.21 upgrade).
> What was the reason for that ?

Look at dir_target().  It needs to add to blibdirs.

A fix was discussed here and is currently in the MM snapshot.
Unfortunately, 5.6.2 went out without it.

I'm not really happy with that fix.  Seems hacky.  An alternative might be 
something like this:

blibdirs : blibs dir_targets

blibs :
	$(NOECHO) $(MKPATH) ...
	... the stuff that's in blibdirs now...

dir_targets ::

and then calls to dir_targets() would just add more dir_targets targets.

Michael G Schwern
My enormous capacity for love is being WASTED on YOU guys

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