Re: [Indic-computing-devel] handbook build error - RH8
Status: Alpha
Brought to you by:
jkoshy
|
From: <jk...@Fr...> - 2003-12-30 09:20:29
|
> -D \
This part is definitely wrong. '-D ' has to be followed by a directory
name.
Basically, this facility (-D) allows the generated HTML files to be
created in a directory other than where the sources are present.
The rest of the command line is clearly out of sync from this
point onwards since jade takes the next option '-c' as the directory
name.
"$INDIC/share/mk/doc.docbook.mk" defines SGMLFLAGS as follows
doc.docbook.mk:159:SGMLFLAGS+= -D ${CANONICALOBJDIR}
CANONICALOBJDIR is defined in "/usr/share/mk/bsd.obj.mk"
.if defined(MAKEOBJDIRPREFIX)
CANONICALOBJDIR:=${MAKEOBJDIRPREFIX}${.CURDIR}
.else
CANONICALOBJDIR:=/usr/obj${.CURDIR}
.endif
You could work around the problem by (a) defining CANONICALOBJDIR
in the environment, (b) or wrapping line 159 in doc.docbook.mk
with a `.if defined(CANONICALOBJDIR)'.
This may not be the only issue though: you really should have a
compatible set of BSD make "system" rules (i.e. /usr/share/mk/bsd.*.mk)
also.
Perhaps Cherry can speak about how he handled these dependencies in
his Debian 'port' of the toolchain.
Regards,
Koshy
<jk...@fr...>
|