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.
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
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page