aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 073f9333b..50f0ccbb7 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ else
Q = @
endif
-lfs: validxml profile-html
+lfs: maketar validxml profile-html
@echo "Generating chunked XHTML files..."
$(Q)xsltproc --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
-stringparam rootid "$(ROOT_ID)" -stringparam base.dir $(BASEDIR)/ \
@@ -78,9 +78,17 @@ tmpdir:
$(Q)rm -f $(RENDERTMP)/lfs-pdf.fo
validxml: tmpdir
+ @echo "Processing bootscripts..."
+ $(Q)sh process-scripts.sh $(RENDERTMP)
@echo "Validating the book..."
$(Q)xmllint --nonet --noent --xinclude --postvalid \
-o $(RENDERTMP)/lfs-full.xml index.xml
+ $(Q)rm -f appendices/*.script
+ $(Q)sh aux-file-data.sh $(RENDERTMP)/lfs-full.xml
+
+maketar:
+ @echo "Making tarballs..."
+ $(Q)sh make-aux-files.sh $(RENDERTMP)
profile-html: validxml
@echo "Generating profiled XML for XHTML..."
@@ -106,4 +114,4 @@ validate:
all: lfs nochunks pdf dump-commands
.PHONY : all dump-commands lfs nochunks pdf profile-html tmpdir validate \
- validxml wget-list
+ validxml wget-list maketar