Issue490965

classification
Title: Please add Makefiles to subdirectories
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: bckfnn Nosy List: bab, bckfnn
Priority: normal Keywords:

Created on 2001-12-09.23:49:29 by bab, last changed 2001-12-10.18:31:33 by bab.

Messages
msg521 (view) Author: Ben Burton (bab) Date: 2001-12-09.23:49:29
Hi, me yet again.  Last bug for now.

Currently there is no native "make" support for
Lib/jxxload_help or for com/.

Could you please add makefiles to the appropriate
directories?  I'm not currently building com/ for
the debian packages since I understand it requires
JDK 1.2, but in Lib/jxxload_help I've added the
following simple Makefile:

--- jython-2.1-beta1.orig/Lib/jxxload_help/Makefile
+++ jython-2.1-beta1/Lib/jxxload_help/Makefile
@@ -0,0 +1,3 @@
+# Copyright (c) Corporation for National Research Initiatives
+include ../../Misc/make.rules
+CLASSPATH = ../..:..

This at least allows me to change into Lib/jxxload_help
and type "make".  It would be even cooler if this
could be incorporated into SUBDIRS in the top-level
Makefile.

If there's a particular reason for not including
jxxload_help and/or com in the top-level Makefile,
that's cool; I can keep on doing it the way I've been
doing it so far.  But a Makefile in each of those
subdirectories would still be nice.

Okay, the jython-2.1-beta2 debian packages are
now uploaded.

Thanks - Ben. :)
msg522 (view) Author: Finn Bock (bckfnn) Date: 2001-12-10.18:10:38
Logged In: YES 
user_id=4201

Just the other day, I was *this* close to deleting all the 
Makefiles. I don't use them myself, relying instead on ant 
to perform the build. I can add the suggested Makefile to 
jxxload_help and apply your patches to the other Makefile 
if it helps, but is there a reason for not using ant?

The reason the make system isn't updated is only because 
none of the develeopers use it.
msg523 (view) Author: Ben Burton (bab) Date: 2001-12-10.18:31:33
Logged In: YES 
user_id=146613

> is there a reason for not using ant?

Well, I'm familiar with make (in particular, I understand
how to tweak it in unusual ways to cope with unusual
situations) and I've never used ant.  So when I
first started packaging jython I saw the Makefiles
and thus figured I'd go with that system.

I can look into ant if you like, but I find the Makefiles
are nice to have around.

Ben.
History
Date User Action Args
2001-12-09 23:49:29babcreate