[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CVS webwml/english/template/debian



On Sun, Jun 10, 2001 at 04:09:10PM +0200, Martin Schulze wrote:
> > > > > On a related note, is it possible to distribute $CUR_DIR from Makefile
> > > > > into wml?  If so, we could use '#include "$(ENGLISHDIR)/$(CUR_DIR)/file"'
> > > > > instead of static paths components.
> > > > 
> > > > Yeah, we could add it by adding it on the wml command line
> > > > (-D CUR_DIR=$(CUR_DIR)) in the common Makefile.
> > > 
> > > Doesn't work, tried such a thing already.
> > > 
> > > Next idea?
> > 
> > Uh, how do you mean? It works quite nicely, just tack on
> >  -D CUR_DIR=$(CUR_DIR) on the fifteenth line of Makefile.common and that's
> > it!
> 
> Gak, I'm talking about .wmlrc not about any Makefile.  (ok, I ignored
> your "common Makefile" remark above, granted, my mistake).
> 
> Ok, so you want me to add it to the general makefile, prolonguing
> the commandline, right?

Well, if you don't want to prolongue all of the command lines, you could add
it selectively, too. Do

WML += -D CUR_DIR=$(CUR_DIR)

in the Makefiles of the directories where $(CUR_DIR) value is longer than
that string.

-- 
Digital Electronic Being Intended for Assassination and Nullification



Reply to: