Quellcode durchsuchen

Activated the pdf Makefile target for final releases.
Removed Changelog and What's New pages from PDF output.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.2/BOOK@7713 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Manuel Canales Esparcia vor 19 Jahren
Ursprung
Commit
d22b61dd31
3 geänderte Dateien mit 23 neuen und 23 gelöschten Zeilen
  1. 13 13
      Makefile
  2. 9 9
      chapter01/changelog.xml
  3. 1 1
      chapter01/whatsnew.xml

+ 13 - 13
Makefile

@@ -33,22 +33,22 @@ lfs:
 	done;
 
 # Uncomment this for testing and stable versions
-#pdf:
-#	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
-#	sed -i -e "s/inherit/all/" $(BASEDIR)/lfs-pdf.fo
-#	fop.sh $(BASEDIR)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
-#	rm $(BASEDIR)/lfs-pdf.xml $(BASEDIR)/lfs-pdf.fo
-
-# Remove this for testing and stable versions
 pdf:
-	xsltproc --xinclude --nonet --output $(BASEDIR)/lfs-pdf.fo \
-		stylesheets/lfs-pdf.xsl index.xml
+	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
 	sed -i -e "s/inherit/all/" $(BASEDIR)/lfs-pdf.fo
 	fop.sh $(BASEDIR)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
-	rm $(BASEDIR)/lfs-pdf.fo
+	rm $(BASEDIR)/lfs-pdf.xml $(BASEDIR)/lfs-pdf.fo
+
+# Remove this for testing and stable versions
+# pdf:
+# 	xsltproc --xinclude --nonet --output $(BASEDIR)/lfs-pdf.fo \
+# 		stylesheets/lfs-pdf.xsl index.xml
+# 	sed -i -e "s/inherit/all/" $(BASEDIR)/lfs-pdf.fo
+# 	fop.sh $(BASEDIR)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
+# 	rm $(BASEDIR)/lfs-pdf.fo
 
 nochunks:
 	xsltproc --xinclude --nonet -stringparam profile.condition html \

+ 9 - 9
chapter01/changelog.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-scatter-changelog">
+<sect1 id="ch-scatter-changelog" condition="html">
   <?dbhtml filename="changelog.html"?>
 
   <title>Changelog</title>
@@ -49,7 +49,7 @@
         </listitem>
       </itemizedlist>
     </listitem>
-    
+
     <listitem>
       <para>July 21, 2006</para>
       <itemizedlist>
@@ -88,12 +88,12 @@
       <para>July 18, 2006</para>
       <itemizedlist>
         <listitem>
-          <para>[bdubbs] - Several textual corrections.  Thanks to 
+          <para>[bdubbs] - Several textual corrections.  Thanks to
           Chris Staub.</para>
         </listitem>
       </itemizedlist>
     </listitem>
-    
+
     <listitem>
       <para>July 15, 2006</para>
       <itemizedlist>
@@ -111,7 +111,7 @@
           program in updatedb after moving find to /bin.</para>
         </listitem>
         <listitem>
-          <para>[bdubbs] - Updated text concerning test failures in 
+          <para>[bdubbs] - Updated text concerning test failures in
           glibc to describe the most recent results.</para>
         </listitem>
       </itemizedlist>
@@ -123,12 +123,12 @@
         <listitem>
           <para>[bdubbs] - Moved the executables: nice, find, kbd_mode,
           openvt, and setfont to /bin to support boot scripts.
-          Added --datadir=/lib/kbd to kbd's configure so that keyboard 
+          Added --datadir=/lib/kbd to kbd's configure so that keyboard
           data will always be on the root partition.
           </para>
         </listitem>
         <listitem>
-          <para>[bdubbs] - Updated text in section 7.9 (The Bash 
+          <para>[bdubbs] - Updated text in section 7.9 (The Bash
           Shell Startup Files) to better explain the Xlib example.
           </para>
         </listitem>
@@ -180,11 +180,11 @@
       <para>July 11, 2006</para>
       <itemizedlist>
         <listitem>
-          <para>[bdubbs] - Changed url for the SBU pages to a generic 
+          <para>[bdubbs] - Changed url for the SBU pages to a generic
           location.</para>
         </listitem>
         <listitem>
-          <para>[bdubbs] - Added clarifying text to section 7.9 concerning 
+          <para>[bdubbs] - Added clarifying text to section 7.9 concerning
           charmap specifications.  Thanks to Dan Nicholson.
           Closes ticket #1813.</para>
         </listitem>

+ 1 - 1
chapter01/whatsnew.xml

@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-<sect1 id="ch-intro-whatsnew">
+<sect1 id="ch-intro-whatsnew" condition="html">
   <?dbhtml filename="whatsnew.html"?>
 
   <title>What's new since the last release</title>