[Bio] / ReleaseTools / standard.mk Repository:
ViewVC logotype

Log of /ReleaseTools/standard.mk

Parent Directory Parent Directory


Links to HEAD: (view) (download) (annotate)
Links to sc2004-2: (view) (download) (annotate)
Sticky Tag:

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Tue Oct 5 20:02:31 2004 UTC (15 years, 4 months ago) by efrank
Branch: MAIN
CVS Tags: sc04-finalDay, sc2004-0, sc2004-1, sc2004-2, sc2004-3, sc2004-4
Changes since 1.3: +2 -0 lines
Diff to previous 1.3
chmod 755 scripts after copied to bin.  feh! upon cvs permissions.

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Fri Sep 17 21:04:49 2004 UTC (15 years, 5 months ago) by efrank
Branch: MAIN
Changes since 1.2: +7 -5 lines
Diff to previous 1.2
mods to support libdir/PackagenameGen directory.

Problem:  If you have package, PkgA, and PkgA has IDL-like stuff in
it that is used to generate code, then python causes problems.  In
our case, we had Foo.st, the input to the schema tools.  Foo.st
was eaten by generatePy to make Foo.py in libdir/PkgA.  Even
though we havfe libdir at the head of PYTHONPATH, python adds
PWD before PYTHONPATH, so if the first import in the execution
snags, say, PkgA.MyClass, then when you later look for PkgA.Foo,
the thing emitted into the libdir, python would not find it because
PkgA was found via PWD.  (This is the caes when trying to run from
the working direction).

So, for each package, we now create  libdir/Pkg and libdir/PkgGen
where the  latter is used to emit generated python.  If a programmer
needs to use a generated .py in an import, they specify
	from PkgGen.TheClass import TheClass

This solves the problem.

Pain in the butt.

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Thu Sep 16 21:47:08 2004 UTC (15 years, 5 months ago) by efrank
Branch: MAIN
CVS Tags: preSchematools
Changes since 1.1: +46 -15 lines
Diff to previous 1.1
Migrate Makefile to standard.mk format.
This commit is everything but Makefile.top (which has the schematools target)

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Fri Sep 10 12:54:37 2004 UTC (15 years, 5 months ago) by efrank
Branch: MAIN
So far, we've allowed each package to define all  kinds of rules in its
makefile.  That's wasteful and makesit hard to improve the system because,
when you want new build capabilities, you have to edit all those makefiles,
and users have to know too much.

Gather the business end of the build into standard.mk.  Have package makefiles
include standard.mk.  Modify Makefile.top to have -I so that package makefile
can find standard.mk.  problem solved.  Now package makefiles only need to
define a few macros to describe what to build.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3