Makefile in HEAD

Jeremy Utley jeremy at jutley.org
Fri May 7 01:04:09 PDT 2004


Richard A Downing FBCS wrote:

> jeremy at jutley.org wrote:
>
>>> The Makefile sets the BASEDIR to ~/lfs-book.  This overrides setting 
>>> the
>>> BASEDIR to anything else, so the README is wrong.
>>>
>>> Ideally, the Makefiles for LFS and BLFS should yield similar results 
>>> too
>>> - BLFS BASEDIR is ~/public_html/blfs-book-xsl.
>>>
>>> R.
>>> -- 
>>> http://linuxfromscratch.org/mailman/listinfo/lfs-dev
>>> FAQ: http://www.linuxfromscratch.org/faq/
>>> Unsubscribe: See the above information page
>>>
>>
>>
>> Strange - I can type "make BASEDIR=/path/to/wherever" and it will 
>> override
>> what's set at the top of the makefile.
>>
>> IOW, works for me!
>>
>> -J-
>
>
> See the following, 'cos it don't work here!
>
> $ BASEDIR=~/public_html/lfs-book-xsl make lfs
> xsltproc --xinclude --nonet -stringparam base.dir ~/lfs-book/ \
>   stylesheets/lfs-chunked.xsl index.xml
>
> But, I've just spotted the problem.  You've documented:
>
>   BASEDIR=?? make
>
> when you meant:
>
>   make BASEDIR=??
>
> R.

OK, I didn't write the docs - in fact, I thought it would work both 
ways, but I guess not.  I corrected the Readme file in CVS - any make 
experts care to enlighten me as to what's up?

-J-




More information about the lfs-dev mailing list