Changeset 34c47be


Ignore:
Timestamp:
05/01/2021 11:51:19 AM (3 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, legacy, trunk
Children:
380c2c6
Parents:
605ea36
Message:

BLFS: Fix Makefile so that it builds version.ent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/Makefile

    r605ea36 r34c47be  
    150150$(LFS_FULL): FORCE
    151151endif
    152 $(LFS_FULL): $(LFS_XML) $(LFS_XML)/general.ent $(ALLXMLLFS) $(ALLXSLLFS)
     152$(LFS_FULL): $(LFS_XML) $(LFS_XML)/general.ent $(ALLXMLLFS) $(ALLXSLLFS) lfs-version
    153153        @echo "Processing LFS bootscripts..."
    154154        $(Q)cd $(LFS_XML) && bash process-scripts.sh
     
    167167        $(Q)echo $(REV) > $(REVFILE)
    168168
    169 $(BLFS_FULL): $(BLFS_XML) $(BLFS_XML)/general.ent $(ALLXML) $(ALLXSL)
     169$(BLFS_FULL): $(BLFS_XML) $(BLFS_XML)/general.ent $(ALLXML) $(ALLXSL) version
    170170        $(Q)[ -d $(RENDERTMP) ] || mkdir -p $(RENDERTMP)
    171171        @echo "Adjusting BLFS for revision $(REV)..."
     
    211211        fi
    212212
     213# Generate BLFS version from git:
     214version:
     215        $(Q)cd $(BLFS_XML) && ./git-version.sh
     216
     217lfs-version:
     218        $(Q)cd $(LFS_XML) && ./git-version.sh
     219
    213220# Clean up
    214221
     
    218225
    219226FORCE:
    220 .PHONY: clean all update $(CONFIG_OUT) FORCE
     227.PHONY: clean all update $(CONFIG_OUT) version FORCE
Note: See TracChangeset for help on using the changeset viewer.