Author: pierre
Date: Sun Mar 29 10:19:25 2020
New Revision: 4145

Log:
Allow to find kernfs and chroot in any chapter

We use those files to generate code snippets to use in Makefile.
They used to be in chapter 6, but the new book will have some
of them in chapter 5.

Modified:
   jhalfs/trunk/common/libs/func_book_parser

Modified: jhalfs/trunk/common/libs/func_book_parser
==============================================================================
--- jhalfs/trunk/common/libs/func_book_parser   Sun Mar 29 10:16:09 2020        
(r4144)
+++ jhalfs/trunk/common/libs/func_book_parser   Sun Mar 29 10:19:25 2020        
(r4145)
@@ -281,7 +281,7 @@
     lfs)
       xsltproc --nonet --xinclude \
                -o chroot-scripts/ chroot.xsl \
-               $BOOK/chapter06/chapter06.xml >> $LOGDIR/$LOG 2>&1
+               $BOOK/chapter0?/*chroot*.xml >> $LOGDIR/$LOG 2>&1
       ;;
     *)
   esac
@@ -312,7 +312,7 @@
     lfs)
       xsltproc --nonet \
                -o kernfs-scripts/devices.sh kernfs.xsl \
-               $BOOK/chapter06/kernfs.xml >> $LOGDIR/$LOG 2>&1
+               $BOOK/*/kernfs.xml >> $LOGDIR/$LOG 2>&1
       xsltproc --nonet \
                -o kernfs-scripts/teardown.sh kernfs.xsl \
                $BOOK/chapter09/reboot.xml >> $LOGDIR/$LOG 2>&1
-- 
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page

Reply via email to