#4339: Wrong input for wget-list in Makefile
--------------------+----------------------
Reporter: thomas | Owner: lfs-book
Type: defect | Status: new
Priority: low | Milestone: 8.3
Component: Book | Version: SVN
Severity: minor | Keywords:
--------------------+----------------------
In the Makefile there is the section
{{{
wget-list: $(BASEDIR)/wget-list
$(BASEDIR)/wget-list: stylesheets/wget-list.xsl chapter03/chapter03.xml \
packages.ent patches.ent
@echo "Generating consolidated wget list at $(BASEDIR)/wget-list
..."
$(Q)mkdir -p $(BASEDIR)
$(Q)xsltproc --nonet --xinclude \
--stringparam profile.revision $(REV) \
--output $(RENDERTMP)/sysd-wget.xml \
stylesheets/lfs-xsl/profile.xsl \
chapter03/chapter03.xml
$(Q)xsltproc --xinclude --nonet \
--output $(BASEDIR)/wget-list \
stylesheets/wget-list.xsl \
chapter03/chapter03.xml
}}}
shouldn't the last xslproc use "sysd-wget.xml" as input? It would than
read as:
{{{
wget-list: $(BASEDIR)/wget-list
$(BASEDIR)/wget-list: stylesheets/wget-list.xsl chapter03/chapter03.xml \
packages.ent patches.ent
@echo "Generating consolidated wget list at $(BASEDIR)/wget-list
..."
$(Q)mkdir -p $(BASEDIR)
$(Q)xsltproc --nonet --xinclude \
--stringparam profile.revision $(REV) \
--output $(RENDERTMP)/sysd-wget.xml \
stylesheets/lfs-xsl/profile.xsl \
chapter03/chapter03.xml
$(Q)xsltproc --xinclude --nonet \
--output $(BASEDIR)/wget-list \
stylesheets/wget-list.xsl \
$(RENDERTMP)/sysd-wget.xml
}}}
A patch would look like:
{{{
--- Makefile.orig 2018-08-20 14:05:17.206025624 +0200
+++ Makefile 2018-08-20 14:05:55.919230588 +0200
@@ -167,7 +167,7 @@
$(Q)xsltproc --xinclude --nonet \
--output $(BASEDIR)/wget-list \
stylesheets/wget-list.xsl \
- chapter03/chapter03.xml
+ $(RENDERTMP)/sysd-wget.xml
md5sums: $(BASEDIR)/md5sums
$(BASEDIR)/md5sums: stylesheets/wget-list.xsl chapter03/chapter03.xml \
}}}
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/4339>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page