mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 13:07:50 +00:00
SImplify Makefile now that we have fixed DB-xsl bug
This commit is contained in:
parent
d5fda0bce5
commit
91f4b2df57
5
Makefile
5
Makefile
@ -35,9 +35,6 @@ else
|
||||
DUMPDIR ?= ~/lfs-sysd-commands
|
||||
endif
|
||||
|
||||
# https://github.com/docbook/xslt10-stylesheets/issues/239
|
||||
SED_XMLNS_XLINK = sed -i 's/xmlns:xlink.*xlink"//'
|
||||
|
||||
book: validate profile-html
|
||||
@echo "Generating chunked XHTML files at $(BASEDIR)/ ..."
|
||||
$(Q)xsltproc --nonet \
|
||||
@ -51,7 +48,6 @@ book: validate profile-html
|
||||
$(Q)mkdir -p $(BASEDIR)/stylesheets
|
||||
$(Q)cp stylesheets/lfs-xsl/*.css $(BASEDIR)/stylesheets
|
||||
$(Q)sed -i 's|../stylesheet|stylesheet|' $(BASEDIR)/index.html
|
||||
$(Q)$(SED_XMLNS_XLINK) $(BASEDIR)/longindex.html
|
||||
|
||||
$(Q)mkdir -p $(BASEDIR)/images
|
||||
$(Q)cp images/*.png $(BASEDIR)/images
|
||||
@ -104,7 +100,6 @@ nochunks: validate profile-html
|
||||
$(RENDERTMP)/lfs-html.xml
|
||||
# $(RENDERTMP)/lfs-html2.xml
|
||||
|
||||
$(Q)$(SED_XMLNS_XLINK) $(BASEDIR)/$(NOCHUNKS_OUTPUT)
|
||||
@echo "Running Tidy..."
|
||||
$(Q)tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user