aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2008-06-03 21:51:14 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2008-06-03 21:51:14 +0000
commit1c4800743d22d675ccfa48364d8aa558e8b7407c (patch)
treeca4254cbe5dd5adb0ed8af1f87c26bc569403164 /Makefile
parent9faa3e27afb932894ace74854fbb76631022446b (diff)
Moved bootscripts and udev-config to BOOK
Updated Makefile to automatically generate bootscript and udev-config tarballs Updated licesnse to be the same as BLFS git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8548 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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