On Mon, Apr 03, 2006 at 10:37:20PM -0500, Bruce Dubbs wrote:
>
> Would you please post a diff to the current Makfile. Thanks.
--
Archaic
Want control, education, and security from your operating system?
Hardened Linux From Scratch
http://www.linuxfromscratch.org/hlfs
Index: Makefile
===================================================================
--- Makefile (revision 5797)
+++ Makefile (working copy)
@@ -9,8 +9,8 @@
INSTALL = install
JADE = openjade
DOCBOOK = /usr/share/sgml/docbook/dsssl-stylesheets-1.78
-BASEDIR= $(HOME)/public_html/blfs-book-xsl/
-TEXBASEDIR= $(HOME)/public_html/blfs-book-tex/
+BASEDIR= $(HOME)/public_html/blfs-book-xsl
+TEXBASEDIR= $(HOME)/public_html/blfs-book-tex
NOCHUNKS_OUTPUT=BLFS-BOOK.html
SRCDIR = $(PWD)
@@ -24,14 +24,14 @@
@echo "Generating XHTML Version of BLFS Book with xsltproc..."
@echo " BASEDIR = $(BASEDIR)"
@$(INSTALL) -d $(BASEDIR)
- xsltproc --xinclude --nonet -stringparam base.dir $(BASEDIR) \
+ xsltproc --xinclude --nonet -stringparam base.dir $(BASEDIR)/ \
stylesheets/blfs-chunked.xsl index.xml
- if [ ! -e $(BASEDIR)stylesheets ]; then \
- mkdir -p $(BASEDIR)stylesheets; \
+ if [ ! -e $(BASEDIR)/stylesheets ]; then \
+ mkdir -p $(BASEDIR)/stylesheets; \
fi;
- cp stylesheets/*.css $(BASEDIR)stylesheets
- if [ ! -e $(BASEDIR)images ]; then \
- mkdir -p $(BASEDIR)images; \
+ cp stylesheets/*.css $(BASEDIR)/stylesheets
+ if [ ! -e $(BASEDIR)/images ]; then \
+ mkdir -p $(BASEDIR)/images; \
fi;
cp images/*.png $(BASEDIR)/images
cd $(BASEDIR); sed -i -e "[EMAIL PROTECTED]/[EMAIL PROTECTED]@g" *.html
@@ -64,9 +64,9 @@
stylesheets/blfs-pdf.xsl blfs-pdf.xml
sed -i -e "s/inherit/all/" blfs.fo
fop.sh blfs.fo blfs.pdf
- $(INSTALL) -d $(BASEDIR)pdf
+ $(INSTALL) -d $(BASEDIR)/pdf
rm blfs.fo
- mv blfs.pdf $(BASEDIR)pdf
+ mv blfs.pdf $(BASEDIR)/pdf
tex:
@if [ -z $(TEXBASEDIR) ]; then \
@@ -78,7 +78,7 @@
@$(INSTALL) -d $(TEXBASEDIR)
# Using profiles in book source to exclude parts of the book from TeX
# i.e., Changelog
- xsltproc --nonet --output $(TEXBASEDIR)index.xml \
+ xsltproc --nonet --output $(TEXBASEDIR)/index.xml \
--stringparam "profile.role" "book" \
http://docbook.sourceforge.net/release/xsl/current/profiling/profile.xsl \
index.xml
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page