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

Log of /ReleaseTools/standard.mk

Parent Directory Parent Directory

Links to HEAD: (view) (download) (annotate)
Links to gunk: (view) (download) (annotate)
Sticky Tag:

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Fri Mar 11 16:06:34 2005 UTC (15 years ago) by efrank
Branch: MAIN
CVS Tags: gunk
Changes since 1.7: +10 -2 lines
Diff to previous 1.7 , to selected 1.4
moved __init__ dep from generic .py rule to the generatePy rule in
the schemaTools target.  i don't see the complete chain here yet
but this makes it work for now.

 generate .py from schematools description of class. (Kah related)

    Note- add a __init__ dep because everything is required to be a package
 and so must have an __init__.  putting the dep here is a way to force the
 __init__ to be copied into the dir first so that i can immediately
 be ref'd as a package.  this is needed for schema tools ina way i don't
 grok yet

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Fri Mar 11 15:08:54 2005 UTC (15 years ago) by efrank
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 , to selected 1.4
remove bogus dependency on _init__.py for all py tgts

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Thu Dec 2 01:54:02 2004 UTC (15 years, 4 months ago) by efrank
Branch: MAIN
CVS Tags: V00-00-15, post-st-migration, post-st-migration2
Changes since 1.5: +14 -3 lines
Diff to previous 1.5 , to selected 1.4
Add new macro, BINSHSCRIPTS.  Set this to list of borne shell scripts
in package level makefile.

The old BINSCRIPTS is deprecated...although we ignore it now, we will
eventually need to know what kind of script each is so that we can
edit the #! line upon installation, especially for python and perl.
Even for the /usr/bin/env trick!  (was different on gentoo)


Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Fri Nov 19 18:10:34 2004 UTC (15 years, 4 months ago) by efrank
Branch: MAIN
CVS Tags: stMigration0
Changes since 1.4: +17 -6 lines
Diff to previous 1.4
changes affecting SchemaTools

Revision 1.4 - (view) (download) (annotate) - [selected]
Tue Oct 5 20:02:31 2004 UTC (15 years, 6 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, 6 months ago) by efrank
Branch: MAIN
Changes since 1.2: +7 -5 lines
Diff to previous 1.2 , to selected 1.4
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, 6 months ago) by efrank
Branch: MAIN
CVS Tags: preSchematools
Changes since 1.1: +46 -15 lines
Diff to previous 1.1 , to selected 1.4
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, 6 months ago) by efrank
Branch: MAIN
Diff to selected 1.4
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