Author: matthew
Date: 2009-07-29 14:37:18 -0600 (Wed, 29 Jul 2009)
New Revision: 9020

Modified:
   trunk/editor-manual/release-script.sh
Log:
Enable PDF rendering on quantum again

Modified: trunk/editor-manual/release-script.sh
===================================================================
--- trunk/editor-manual/release-script.sh       2009-07-29 18:28:31 UTC (rev 
9019)
+++ trunk/editor-manual/release-script.sh       2009-07-29 20:37:18 UTC (rev 
9020)
@@ -23,10 +23,11 @@
 white="\e[1;37m"
 red="\e[01;31m"
 yel="\e[1;33m"
-export JAVA_HOME=/opt/javabin/java-1.4.2
-export FOP_HOME=/opt/javabin/fop-0.20.5
-export PATH=$PATH:$JAVA_HOME/bin:$FOP_HOME/bin
 
+export JAVA_HOME=/usr/jdk
+export FOP_HOME=/usr/fop
+export PATH=$PATH:$JAVA_HOME/bin:$FOP_HOME
+
 #######################
 # These are the biggies
 stable=n                      # Is this the final release? 'y' or 'n' only
@@ -121,10 +122,10 @@
 
 # Finally, the PDF
 
-#echo -e "${grn}*${white} Preparing ${grn}$book.pdf${white}...${norm}"
-#cd $workarea/original
-#make BASEDIR=$workarea PDF_OUTPUT=$book.pdf pdf >$workarea/pdf.log 2>&1 || 
exit 9
-#echo -e "${grn}*${yel} Successful!${norm}\n"
+echo -e "${grn}*${white} Preparing ${grn}$book.pdf${white}...${norm}"
+cd $workarea/original
+make BASEDIR=$workarea PDF_OUTPUT=$book.pdf pdf >$workarea/pdf.log 2>&1 || 
exit 9
+echo -e "${grn}*${yel} Successful!${norm}\n"
 
 # Now that the books are finished, create the script that will copy all patches
 # to their proper location.
@@ -146,7 +147,7 @@
 tar jxf $workarea/$book-HTML.tar.bz2
 bzcat $workarea/$book-NOCHUNKS.html.bz2 >$book-NOCHUNKS.html
 #bzcat $workarea/$book.txt.bz2 >$book.txt
-#cp $workarea/$book.pdf .
+cp $workarea/$book.pdf .
 
 # Now to cleanup
 echo -e "\n${grn}*${white} Cleaning up...${norm}"
@@ -217,9 +218,9 @@
   install -v -m 0664 -g $group $book-NOCHUNKS.html.bz2 \$dir/$version
 #  echo
 #  install -v -m 0664 -g $group $book.txt.bz2 \$dir/$version
-#  echo
-#  install -v -m 0664 -g $group $book.pdf \$dir/$version
   echo
+  install -v -m 0664 -g $group $book.pdf \$dir/$version
+  echo
 done
 
 # Now untar a copy in both archives and in view

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to