Changeset 5c8df43


Ignore:
Timestamp:
01/20/2023 09:05:38 AM (16 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, trunk
Children:
b39eb29
Parents:
951d334
Message:

Adapt BLFS/Makefile to the new book layout

With the change to python modules and the pythonhosted.xml file
becoming untracked, those changes allow creating/updating this
file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/Makefile

    r951d334 r5c8df43  
    6161BLFS-BRANCH = trunk
    6262
     63# Name of a file that is not tracked by git in BLFS_XML
     64# but has to be updated
     65PYHOSTED = general/prog/python-dependencies/pythonhosted.xml
     66
    6367ALLXML := $(filter-out $(RENDERTMP)/%, \
     68            $(filter-out $(BLFS_XML)/$(PYHOSTED), \
    6469              $(shell if [ -d $(BLFS_XML) ]; then \
    6570                        find $(BLFS_XML) -name \*.xml; \
    66                       fi))
     71                      fi)))
    6772ALLXMLLFS:= $(filter-out $(LFSTMP)/%, \
    6873              $(shell if [ -d $(LFS_XML) ]; then \
     
    171176$(BLFS_FULL): $(BLFS_XML) $(BLFS_XML)/general.ent $(ALLXML) $(ALLXSL)
    172177        $(Q)cd $(BLFS_XML) && if [ -x git-version.sh ] ; then \
    173              echo "Processing BLFS version..."; \
    174              ./git-version.sh $(REV); \
    175         fi
     178            echo "Processing BLFS version...";                \
     179            if grep -q PYHOSTED Makefile; then                \
     180               $(MAKE) -C $(BLFS_XML) REV=$(REV) $(PYHOSTED); \
     181            else                                              \
     182               ./git-version.sh $(REV);                       \
     183            fi;                                               \
     184        fi
    176185        $(Q)[ -d $(RENDERTMP) ] || mkdir -p $(RENDERTMP)
    177186        @echo "Adjusting BLFS for revision $(REV)..."
     
    231240
    232241FORCE:
    233 .PHONY: clean all update $(CONFIG_OUT) version FORCE
     242.PHONY: clean all update $(CONFIG_OUT) FORCE
Note: See TracChangeset for help on using the changeset viewer.