Move to git: Change url and var names in BLFS/Makefile

Note that only trunk is accessible in the Makefile. Other branches
wil be made accessible later.
This commit is contained in:
Pierre Labastie 2021-04-28 17:08:30 +02:00
parent 1e686d17a4
commit fbbe081243

View file

@ -56,8 +56,8 @@ define INITIAL_TRACK
</sublist> </sublist>
endef endef
LFS-SVN = svn://svn.linuxfromscratch.org/LFS/trunk/BOOK LFS-GIT = git://git.linuxfromscratch.org/lfs.git
SVN = svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK GIT = git://git.linuxfromscratch.org/blfs.git
ALLXML := $(filter-out $(RENDERTMP)/%, \ ALLXML := $(filter-out $(RENDERTMP)/%, \
$(shell if [ -d $(BLFS_XML) ]; then \ $(shell if [ -d $(BLFS_XML) ]; then \
@ -180,16 +180,16 @@ all: update $(BOOK_XML)
update: $(BLFS_XML) $(LFS_XML) update: $(BLFS_XML) $(LFS_XML)
@echo Updating the book sources @echo Updating the book sources
$(Q)cd $(LFS_XML) && svn up $(Q)cd $(LFS_XML) && git pull
$(Q)cd $(BLFS_XML) && svn up $(Q)cd $(BLFS_XML) && git pull
$(LFS_XML): $(LFS_XML):
@echo Getting the LFS book sources... @echo Getting the LFS book sources...
$(Q)svn co $(LFS-SVN) $@ $(Q)git clone $(LFS-GIT) $@
$(BLFS_XML): $(BLFS_XML):
@echo Getting the BLFS book sources... @echo Getting the BLFS book sources...
$(Q)svn co $(SVN) $@ $(Q)git clone $(GIT) $@
# Clean up # Clean up