develooper Front page | perl.perl6.internals | Postings from September 2005

make - to recurse or not?

Thread Next
From:
Joshua Hoblitt
Date:
September 5, 2005 01:09
Subject:
make - to recurse or not?
Message ID:
20050904204545.GA1235@ifa.hawaii.edu
Bug #36252: [TODO] cleanup editor looked like it would be strait forward
to fix but the correct thing to do is not obvuous to me.

Fixing 'realcean' to remove editor/Makefile is easy enough.

===================================================================
--- config/gen/makefiles/root.in        (revision 9132)
+++ config/gen/makefiles/root.in        (working copy)
@@ -157,6 +157,7 @@
 #CONDITIONED_LINE(has_perldoc):    docs/Makefile \
     dynclasses/Makefile \
     dynoplibs/Makefile \
+    editor/Makefile \
     languages/cola/Makefile \
     languages/parrot_compiler/Makefile \
     languages/jako/Makefile \

My confusion is in the correct way of running the 'clean' target to
clean ./editor.  Most of the 'clean' targets in the root Makefile do not
invoke make recursively.  Although, in this case, editor/Makefile contains
a 'clean' target.  So what is the right thing to do here?  Should the
'clean' target be lifted from editor/Makefile into the root makefile or
is it OK to invoke make in ./editor?  Is there (or should there be) a
project wide policy about make recursion? 

I recall the arguments as to why autoconf was rejected for Parrot's
build system but is there any reason why automake and/or libtool wasn't
used?

Cheers,

-J

--

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About