浏览代码

Activated the pdf Makefile target for testing and stable releases.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.1/BOOK@4892 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Manuel Canales Esparcia 20 年之前
父节点
当前提交
1eb75cf60f
共有 1 个文件被更改,包括 5 次插入13 次删除
  1. 5 13
      Makefile

+ 5 - 13
Makefile

@@ -34,22 +34,14 @@ 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
 
 nochunks:
 	xsltproc --xinclude --nonet -stringparam profile.condition html \