On Fri, Jun 12, 2020 at 07:39:39PM -0500, Bruce Dubbs via lfs-dev wrote: > On 6/12/20 7:14 PM, Ken Moffat via lfs-dev wrote: > > I've been updating my local copy of cross2, and creating that book, > > without noticing any obvious problems. But before I attempt to > > check my scripts agaisnt it I thought I'd better ensure that my copy > > of trunk (from which I update package versions etc) was up to date. > > > > It seems to be, but buildign the book errors - > > > > ken@llamedos ~/repos/LFS/trunk/BOOK $make > > Creating and cleaning /home/ken/tmp > > Processing bootscripts... > > Adjusting for revision sysv... > > Validating the book... > > Validation complete. > > Generating profiled XML for XHTML... > > Generating chunked XHTML files at ~/lfs-book/ ... > > Copying CSS code and images... > > mkdir: cannot create directory ‘/home/ken/lfs-book’: File exists > > make: *** [Makefile:41: book] Error 1 > > > > Any ideas, please ? > > You are in trunk, not cross2. >
Yeah, sorry if my wording was not clear - I came back to trunk to check that what I was looking at i nthe local rendering was up to date. > I don't know where that mkdir is coming from. All the instances in the > Makefile use -p for mkdir. > > The line after Copying CSS should be Running Tidy. > > > @echo "Copying CSS code and images..." > $(Q)mkdir -p $(BASEDIR)/stylesheets > $(Q)cp stylesheets/lfs-xsl/*.css $(BASEDIR)/stylesheets > $(Q)pushd $(BASEDIR)/ > /dev/null; \ > # sed -i -e "s@../stylesheets@stylesheets@g" *.html; \ > popd > /dev/null > > $(Q)mkdir -p $(BASEDIR)/images > $(Q)cp images/*.png $(BASEDIR)/images > > @echo "Running Tidy and obfuscate.sh..." > > We probably should remove the three pushd...popd lines. > > Is your Makefile different? > > -- Bruce According to svn my Makefile appears to match the book (i.e. no changes outstanding.) The weird thing is that the Makefile in cross2 is almost identical, and completes without error. And my Makefile in trunk has not changed since March 13th. Will sleep on it. ĸen -- +++ OUT OF CHEESE ERROR. REDO FROM START +++ -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page