Add missing bits to generate scripts for LFS in BLFS tools
This commit is contained in:
parent
91b7b5fd88
commit
607ef21bf6
2 changed files with 8 additions and 2 deletions
|
@ -98,7 +98,7 @@ ifneq ($(REV),sysv)
|
|||
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)
|
||||
|
|
|
@ -14,6 +14,10 @@ BLFS_FULL=$2
|
|||
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"
|
||||
|
@ -158,6 +162,8 @@ popd > /dev/null
|
|||
rm -f ${BookXml}
|
||||
echo Making XML book
|
||||
xsltproc --stringparam list "$LIST" \
|
||||
--stringparam MTA "$SERVER_MAIL" \
|
||||
--stringparam lfsbook "$LFS_FULL" \
|
||||
-o ${BookXml} \
|
||||
${MakeBook} \
|
||||
$BLFS_FULL
|
||||
|
|
Reference in a new issue