r163 - trunk/BOOK

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Fri Feb 11 12:14:42 PST 2005


Author: manuel
Date: 2005-02-11 13:14:42 -0700 (Fri, 11 Feb 2005)
New Revision: 163

Modified:
   trunk/BOOK/Makefile
Log:
Reverted the changes in Makefile. Not ready for commit yet.

Modified: trunk/BOOK/Makefile
===================================================================
--- trunk/BOOK/Makefile	2005-02-11 20:09:21 UTC (rev 162)
+++ trunk/BOOK/Makefile	2005-02-11 20:14:42 UTC (rev 163)
@@ -1,55 +1,29 @@
 BASEDIR=~/hlfs-book
 CHUNK_QUIET=0
-PDF_OUTPUT=HLFS-BOOK-$(LIBC).pdf
-NOCHUNKS_OUTPUT=HLFS-BOOK-$(LIBC).html
+PDF_OUTPUT=HLFS-BOOK.pdf
+NOCHUNKS_OUTPUT=HLFS-BOOK.html
 XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-current
-LIBC=glibc
 
 hlfs:
-# top-level index.html
-	xsltproc --nonet --output $(BASEDIR)/index.html stylesheets/top-index.xsl prologue/bookinfo.xml
-
-# glibc
-	xsltproc --xinclude --nonet -stringparam profile.condition html,glibc \
-	-stringparam chunk.quietly $(CHUNK_QUIET)  -stringparam base.dir $(BASEDIR)/glibc/ \
+	xsltproc --xinclude --nonet -stringparam profile.condition html \
+	-stringparam chunk.quietly $(CHUNK_QUIET)  -stringparam base.dir $(BASEDIR)/ \
 	stylesheets/lfs-chunked.xsl index.xml
 
-	if [ ! -e $(BASEDIR)/glibc/stylesheets ]; then \
-	  mkdir -p $(BASEDIR)/glibc/stylesheets; \
+	if [ ! -e $(BASEDIR)/stylesheets ]; then \
+	  mkdir -p $(BASEDIR)/stylesheets; \
 	fi;
-	cp stylesheets/*.css $(BASEDIR)/glibc/stylesheets
+	cp stylesheets/*.css $(BASEDIR)/stylesheets
 
-	if [ ! -e $(BASEDIR)/glibc/images ]; then \
-	  mkdir -p $(BASEDIR)/glibc//images; \
+	if [ ! -e $(BASEDIR)/images ]; then \
+	  mkdir -p $(BASEDIR)/images; \
 	fi;
 	cp $(XSLROOTDIR)/images/*.png \
-	  $(BASEDIR)/glibc/images
-	cd $(BASEDIR)/glibc/; sed -i -e "s at ../stylesheets at stylesheets@g" \
+	  $(BASEDIR)/images
+	cd $(BASEDIR)/; sed -i -e "s at ../stylesheets at stylesheets@g" \
 	  *.html
-	cd $(BASEDIR)/glibc/; sed -i -e "s at ../images at images@g" \
+	cd $(BASEDIR)/; sed -i -e "s at ../images at images@g" \
 	  *.html
 
-# uclibc
-	xsltproc --xinclude --nonet -stringparam profile.condition html,uclibc \
-	-stringparam chunk.quietly $(CHUNK_QUIET)  -stringparam base.dir $(BASEDIR)/uclibc/ \
-	stylesheets/lfs-chunked.xsl index.xml
-
-	if [ ! -e $(BASEDIR)/uclibc/stylesheets ]; then \
-	  mkdir -p $(BASEDIR)/uclibc/stylesheets; \
-	fi;
-	cp stylesheets/*.css $(BASEDIR)/uclibc/stylesheets
-
-	if [ ! -e $(BASEDIR)/uclibc/images ]; then \
-	  mkdir -p $(BASEDIR)/uclibc//images; \
-	fi;
-	cp $(XSLROOTDIR)/images/*.png \
-	  $(BASEDIR)/uclibc/images
-	cd $(BASEDIR)/uclibc/; sed -i -e "s at ../stylesheets at stylesheets@g" \
-	  *.html
-	cd $(BASEDIR)/uclibc/; sed -i -e "s at ../images at images@g" \
-	  *.html
-
-# common stuff
 	for filename in `find $(BASEDIR) -name "*.html"`; do \
 	  tidy -config tidy.conf $$filename; \
 	  true; \
@@ -60,7 +34,7 @@
 	done;
 
 pdf:
-	xsltproc --xinclude --nonet --stringparam profile.condition pdf,$(LIBC) \
+	xsltproc --xinclude --nonet --stringparam profile.condition pdf \
 		--output $(BASEDIR)/lfs-pdf.xml stylesheets/lfs-profile.xsl index.xml
 	xsltproc --nonet --output $(BASEDIR)/lfs-pdf.fo stylesheets/lfs-pdf.xsl \
 		$(BASEDIR)/lfs-pdf.xml
@@ -69,7 +43,7 @@
 	rm $(BASEDIR)/lfs-pdf.xml $(BASEDIR)/lfs-pdf.fo
 
 nochunks:
-	xsltproc --xinclude --nonet -stringparam profile.condition html,$(LIBC) \
+	xsltproc --xinclude --nonet -stringparam profile.condition html \
 	--output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \
 	  stylesheets/lfs-nochunks.xsl index.xml
 




More information about the hlfs-dev mailing list