[GRASS5] Gmakefiles - make.mid
jhickey at hpcc.nectec.or.th
Fri Jan 5 04:33:14 EST 2001
Markus Neteler wrote:
> On Fri, Jan 05, 2001 at 10:33:12AM +0700, Justin Hickey wrote:
> > Hi Markus
> > Markus Neteler wrote:
> > > I propose to keep only
> > > BIN_MAIN_INTER = $(ETC)/bin/main/inter
> > > BIN_MAIN_CMD = $(ETC)/bin/main/cmd
> > >
> > > and change all Gmakefiles by a script. This would simplify again
> > > the install procedure.
> > I agree.
> Maybe we again simplify that to:
> BIN_INTER = $(ETC)/bin/inter
> BIN_CMD = $(ETC)/bin/cmd
> Or did I overlook anything?
I don't think so. I see any problems with your suggestion.
> Justin - in case of no objections to change, could your nice change
> script do the job? If too much, please send the script and I'll do it
> next week.
The script could almost do the job, but a human would still need to make
the changes. However, in this case, I think we can get a script to
change everything. Here's what I think would work. First change make.mid
by hand to contain only your two suggestions. Then have the script go
through all source files and change any occurance of BIN_MAIN_INTER,
BIN_MAIN_CMD, BIN_ALPHA_INTER, BIN_ALPHA_CMD, BIN_CONTRIB_INTER, or
BIN_CONTRIB_CMD to BIN_INTER or BIN_CMD. Since make.mid is the only
place where these variables are defined, it should be safe to change all
other instances since they should be only references to the variable.
What do you think?
If you agree I'll write the script and run it, probably on Monday since
it is almost dinner time here.
Jazzman (a.k.a. Justin Hickey) e-mail: jhickey at hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
People who think they know everything are very irritating to those
of us who do. ---Anonymous
Jazz and Trek Rule!!!
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev