Author: pierre
Date: Wed Aug  9 07:18:03 2017
New Revision: 3994

Log:
Add missing bits to generate scripts for LFS in BLFS tools

Modified:
   jhalfs/trunk/BLFS/Makefile
   jhalfs/trunk/BLFS/gen_pkg_book.sh

Modified: jhalfs/trunk/BLFS/Makefile
==============================================================================
--- jhalfs/trunk/BLFS/Makefile  Wed Aug  9 07:15:27 2017        (r3993)
+++ jhalfs/trunk/BLFS/Makefile  Wed Aug  9 07:18:03 2017        (r3994)
@@ -98,7 +98,7 @@
 endif
 
 $(BOOK_XML): $(CONFIG_OUT)
-       $(Q)$(TOPDIR)/gen_pkg_book.sh $(TOPDIR) $(BLFS_FULL)
+       $(Q)$(TOPDIR)/gen_pkg_book.sh $(TOPDIR) $(BLFS_FULL) $(LFS_FULL)
 
 $(CONFIG_OUT): $(CONFIG_CONFIG_IN) $(MENU)/mconf
        $(Q)$(MENU)/mconf $(CONFIG_CONFIG_IN)

Modified: jhalfs/trunk/BLFS/gen_pkg_book.sh
==============================================================================
--- jhalfs/trunk/BLFS/gen_pkg_book.sh   Wed Aug  9 07:15:27 2017        (r3993)
+++ jhalfs/trunk/BLFS/gen_pkg_book.sh   Wed Aug  9 07:18:03 2017        (r3994)
@@ -14,6 +14,10 @@
 if test -z "$BLFS_FULL"; then
   BLFS_FULL=${TOPDIR}/blfs-xml/tmp/blfs-full.xml
 fi
+LFS_FULL=$3
+if test -z "$LFS_FULL"; then
+  LFS_FULL=${TOPDIR}/lfs-xml/tmp/lfs-full.xml
+fi
 declare -r ConfigFile="${TOPDIR}/configuration"
 declare DepDir="${TOPDIR}/dependencies"
 declare LibDir="${TOPDIR}/libs"
@@ -157,7 +161,9 @@
 popd > /dev/null
 rm -f ${BookXml}
 echo Making XML book
-xsltproc --stringparam list "$LIST" \
+xsltproc --stringparam list    "$LIST"        \
+         --stringparam MTA     "$SERVER_MAIL" \
+         --stringparam lfsbook "$LFS_FULL"    \
          -o ${BookXml} \
          ${MakeBook} \
          $BLFS_FULL
-- 
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page

Reply via email to