Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Oct 2004 00:58:52 +0300
From:      Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
To:        FreeBSD-doc@freebsd.org
Subject:   Problem building with doc/ll_LL symlinked
Message-ID:  <20041028005852.303005b0@it.buh.cameradicommercio.ro>

next in thread | raw e-mail | index | archive | help
Hi,


I'm trying to translate some docs in Romanian.

So I have symlinked 
/usr/doc/ro_RO.ISO8859-2 -> /home/itetcu/projects/FRDP/freebsd-ro-l10n/doc/ro_RO.ISO8859-2

When, in /usr/doc I
   make DOC_LANG=ro_RO.ISO8859-2   
I get
===> ro_RO.ISO8859-2
"Makefile", line 18: Could not find /home/itetcu/projects/FRDP/freebsd-ro-l10n/doc/ro_RO.ISO8859-2/../share/mk/doc.project.mk
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/doc.

However defining DOC_PREFIX works:
 # make DOC_LANG=ro_RO.ISO8859-2 DOC_PREFIX=/usr/doc
===> ro_RO.ISO8859-2
===> ro_RO.ISO8859-2/articles
===> ro_RO.ISO8859-2/articles/cvsup-advanced
............

But in /usr/doc/Makefile I see:
DOC_PREFIX?=   ${.CURDIR}
and  in /usr/doc:
 # make DOC_LANG=ro_RO.ISO8859-2 -VDOC_PREFIX
/usr/doc

 DOC_PREFIX?=   ${.CURDIR} is propagated down the tree in each
Makefile inclusive in directories holding article.sgml / book.sgml.

So I don't understand what is happening.

Thanks,


-- 
IOnut
Unregistered ;) FreeBSD "user"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041028005852.303005b0>