mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Makefile: Ensure wget-list and md5sums regenerated when patches.xml or packages.xml has changed
This commit is contained in:
parent
46b5c6b63b
commit
47bc996103
13
Makefile
13
Makefile
@ -150,9 +150,11 @@ profile-html:
|
|||||||
stylesheets/lfs-xsl/profile.xsl \
|
stylesheets/lfs-xsl/profile.xsl \
|
||||||
$(RENDERTMP)/lfs-full.xml
|
$(RENDERTMP)/lfs-full.xml
|
||||||
|
|
||||||
wget-list: $(BASEDIR)/wget-list $(BASEDIR)/wget-list-$(REV)
|
DOWNLOADS_DEP = chapter03/packages.xml chapter03/patches.xml \
|
||||||
$(BASEDIR)/wget-list: stylesheets/wget-list.xsl chapter03/chapter03.xml \
|
|
||||||
packages.ent patches.ent general.ent
|
packages.ent patches.ent general.ent
|
||||||
|
|
||||||
|
wget-list: $(BASEDIR)/wget-list $(BASEDIR)/wget-list-$(REV)
|
||||||
|
$(BASEDIR)/wget-list: stylesheets/wget-list.xsl $(DOWNLOADS_DEP)
|
||||||
@echo "Generating consolidated wget list at $(BASEDIR)/wget-list ..."
|
@echo "Generating consolidated wget list at $(BASEDIR)/wget-list ..."
|
||||||
$(Q)mkdir -p $(BASEDIR)
|
$(Q)mkdir -p $(BASEDIR)
|
||||||
$(Q)xsltproc --xinclude --nonet \
|
$(Q)xsltproc --xinclude --nonet \
|
||||||
@ -160,9 +162,7 @@ $(BASEDIR)/wget-list: stylesheets/wget-list.xsl chapter03/chapter03.xml \
|
|||||||
stylesheets/wget-list.xsl \
|
stylesheets/wget-list.xsl \
|
||||||
chapter03/chapter03.xml
|
chapter03/chapter03.xml
|
||||||
|
|
||||||
$(BASEDIR)/wget-list-$(REV): stylesheets/wget-list.xsl \
|
$(BASEDIR)/wget-list-$(REV): stylesheets/wget-list.xsl $(DOWNLOADS_DEP)
|
||||||
chapter03/chapter03.xml \
|
|
||||||
packages.ent patches.ent general.ent
|
|
||||||
$(Q)xsltproc --nonet --xinclude \
|
$(Q)xsltproc --nonet --xinclude \
|
||||||
--stringparam profile.revision $(REV) \
|
--stringparam profile.revision $(REV) \
|
||||||
--output $(RENDERTMP)/wget-list.xml \
|
--output $(RENDERTMP)/wget-list.xml \
|
||||||
@ -174,8 +174,7 @@ $(BASEDIR)/wget-list-$(REV): stylesheets/wget-list.xsl \
|
|||||||
$(RENDERTMP)/wget-list.xml
|
$(RENDERTMP)/wget-list.xml
|
||||||
|
|
||||||
md5sums: $(BASEDIR)/md5sums
|
md5sums: $(BASEDIR)/md5sums
|
||||||
$(BASEDIR)/md5sums: stylesheets/wget-list.xsl chapter03/chapter03.xml \
|
$(BASEDIR)/md5sums: stylesheets/wget-list.xsl $(DOWNLOADS_DEP)
|
||||||
packages.ent patches.ent
|
|
||||||
@echo "Generating consolidated md5sum file at $(BASEDIR)/md5sums ..."
|
@echo "Generating consolidated md5sum file at $(BASEDIR)/md5sums ..."
|
||||||
$(Q)mkdir -p $(BASEDIR)
|
$(Q)mkdir -p $(BASEDIR)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user