Revert changes to BLFS/Makefile

Changes to book's Makefile have been reverted too...
This commit is contained in:
Pierre Labastie 2023-01-25 13:17:12 +01:00
parent 5c8df43896
commit b39eb29be5
1 changed files with 5 additions and 14 deletions

View File

@ -60,15 +60,10 @@ LFS-BRANCH = trunk
GIT = https://git.linuxfromscratch.org/blfs.git
BLFS-BRANCH = trunk
# Name of a file that is not tracked by git in BLFS_XML
# but has to be updated
PYHOSTED = general/prog/python-dependencies/pythonhosted.xml
ALLXML := $(filter-out $(RENDERTMP)/%, \
$(filter-out $(BLFS_XML)/$(PYHOSTED), \
$(shell if [ -d $(BLFS_XML) ]; then \
find $(BLFS_XML) -name \*.xml; \
fi)))
fi))
ALLXMLLFS:= $(filter-out $(LFSTMP)/%, \
$(shell if [ -d $(LFS_XML) ]; then \
find $(LFS_XML) -name \*.xml; \
@ -175,13 +170,9 @@ $(LFS_FULL): $(LFS_XML) $(LFS_XML)/general.ent $(ALLXMLLFS) $(ALLXSLLFS)
$(BLFS_FULL): $(BLFS_XML) $(BLFS_XML)/general.ent $(ALLXML) $(ALLXSL)
$(Q)cd $(BLFS_XML) && if [ -x git-version.sh ] ; then \
echo "Processing BLFS version..."; \
if grep -q PYHOSTED Makefile; then \
$(MAKE) -C $(BLFS_XML) REV=$(REV) $(PYHOSTED); \
else \
./git-version.sh $(REV); \
fi; \
fi
echo "Processing BLFS version..."; \
./git-version.sh $(REV); \
fi
$(Q)[ -d $(RENDERTMP) ] || mkdir -p $(RENDERTMP)
@echo "Adjusting BLFS for revision $(REV)..."
$(Q)xsltproc --nonet --xinclude \
@ -239,4 +230,4 @@ clean:
rm -rf $(TOPDIR)/dependencies $(TOPDIR)/book-html $(TOPDIR)/scripts
FORCE:
.PHONY: clean all update $(CONFIG_OUT) FORCE
.PHONY: clean all update $(CONFIG_OUT) version FORCE