M.Canales.es wrote:
El Jueves, 1 de Junio de 2006 20:37, George Boudreau escribió:

   I need some clarification. Do you want the directory name "jhalfs" to
be referenced through a variable:

  define in common/config
    SCRIPT_ROOT=jhalfs
    JHALFSDIR=$BUILDDIR/$SCRIPT_ROOT

AND THEN modify all references to the directory jhalfs, replace with the
variable SCRIPT_ROOT?

example:
echo -e "\nKB: \`du -skx --exclude=jhalfs \`\n" >>logs/$this_script
echo -e "\nKB: \`du -skx --exclude=${SCRIPT_ROOT} \`\n" >>logs/$this_script

Yes, something like that. That will allow to change the dir name (for example, to generate separate trees using diferent config options to can diff it).
I have replaced jhalfs directory references with ${SCRIPT_ROOT} except for usage in the PACO patch (unfamiliar ground for me). NOTE: The variable substitution is done when the makefile is created and at runtime.

  Differences between LFS makefiles (before and after mod) are zero.

I made a similar change for the "unpacked" file just now, but for diferents reasons.

--
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to