Re: [perl #61052] [BUG]: r33482 Can't run 'make realclean' in languages/perl6 directory

[email protected] ("Will Coleda")
Newsgroups perl.perl6.internals
Message-ID <[email protected]>
On Thu, Dec 4, 2008 at 11:51 AM, [email protected]
(via RT) <[email protected]> wrote:
> # New Ticket Created by  [email protected]
> # Please include the string:  [perl #61052]
> # in the subject line of all future correspondence about this issue.
> # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61052 >
>
>
> This bug has been around for a while, but I've been too lazy to report it :)
>
> My build tools automatically run a 'make realclean' if I type 'rebuild' in a directory with a Makefile.  If you do that in languages/perl6, you can no longer run "make" in that directory.  Doing an "svn up" doesn't help.  Going back to the top level and running a 'make realclean && make' also doesn't help.
>
> I know of no way to recover from this aside from doing a fresh checkout.

Rerunning Configure.pl will recreate the language makefiles, but it's
overkill: Here's a snippet that does it:

perl -Ilib tools/dev/reconfigure.pl --step=gen::languages --languages=perl6

Tcl avoids this by having its own Configure.pl that does this one step
to generate a new copy of the Makefile.

http://code.google.com/p/partcl/source/browse/trunk/Configure.pl

So, in languages/tcl, you can do "make realclean; perl Configure.pl && make"

Regards.

-- 
Will "Coke" Coleda
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.