Changeset f5ee8c2
- Timestamp:
- 08/22/2012 04:33:50 PM (12 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- c0cfef7b
- Parents:
- ca1500d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
rca1500d rf5ee8c2 11 11 CHUNK_QUIET = 1 12 12 ROOT_ID = 13 PDF_OUTPUT = BLFS-BOOK.pdf13 #PDF_OUTPUT = BLFS-BOOK.pdf 14 14 NOCHUNKS_OUTPUT = BLFS-BOOK.html 15 15 SHELL = /bin/bash … … 27 27 28 28 blfs: html wget-list 29 all: blfs nochunks pdf 29 #all: blfs nochunks pdf 30 all: blfs nochunks 30 31 world: all blfs-patch-list dump-commands test-links 31 32 … … 57 58 done; 58 59 59 pdf: $(BASEDIR)/$(PDF_OUTPUT)60 $(RENDERTMP)/blfs-pdf.xml: $(RENDERTMP)/blfs-full.xml61 @echo "Generating profiled XML for PDF..."62 $(Q)xsltproc --nonet --stringparam profile.condition pdf \60 #pdf: $(BASEDIR)/$(PDF_OUTPUT) 61 #$(RENDERTMP)/blfs-pdf.xml: $(RENDERTMP)/blfs-full.xml 62 # @echo "Generating profiled XML for PDF..." 63 # $(Q)xsltproc --nonet --stringparam profile.condition pdf \ 63 64 --output $(RENDERTMP)/blfs-pdf.xml stylesheets/lfs-xsl/profile.xsl \ 64 65 $(RENDERTMP)/blfs-full.xml 65 66 66 $(RENDERTMP)/blfs-pdf.fo: $(RENDERTMP)/blfs-pdf.xml67 @echo "Generating FO file..."68 $(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \67 #$(RENDERTMP)/blfs-pdf.fo: $(RENDERTMP)/blfs-pdf.xml 68 # @echo "Generating FO file..." 69 # $(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \ 69 70 --output $(RENDERTMP)/blfs-pdf.fo stylesheets/blfs-pdf.xsl \ 70 71 $(RENDERTMP)/blfs-pdf.xml 71 $(Q)sed -i -e 's/span="inherit"/span="all"/' $(RENDERTMP)/blfs-pdf.fo72 # $(Q)sed -i -e 's/span="inherit"/span="all"/' $(RENDERTMP)/blfs-pdf.fo 72 73 73 $(BASEDIR)/$(PDF_OUTPUT): $(RENDERTMP)/blfs-pdf.fo74 @echo "Generating PDF file..."75 $(Q)if [ ! -e $(BASEDIR) ]; then \74 #$(BASEDIR)/$(PDF_OUTPUT): $(RENDERTMP)/blfs-pdf.fo 75 # @echo "Generating PDF file..." 76 # $(Q)if [ ! -e $(BASEDIR) ]; then \ 76 77 mkdir -p $(BASEDIR); \ 77 78 fi; 78 $(Q)fop $(RENDERTMP)/blfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)79 # $(Q)fop $(RENDERTMP)/blfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT) 79 80 80 81 nochunks: $(BASEDIR)/$(NOCHUNKS_OUTPUT) … … 98 99 clean: 99 100 @echo "Cleaning $(RENDERTMP)" 100 $(Q)rm -f $(RENDERTMP)/blfs-{full,html,pdf}.xml 101 $(Q)rm -f $(RENDERTMP)/blfs-pdf.fo 101 $(Q)rm -f $(RENDERTMP)/blfs-{full,html}.xml 102 # $(Q)rm -f $(RENDERTMP)/blfs-{full,html,pdf}.xml 103 # $(Q)rm -f $(RENDERTMP)/blfs-pdf.fo 102 104 $(Q)rm -f $(RENDERTMP)/blfs-{patch-list,patches} 103 105 $(Q)rmdir $(RENDERTMP) 2>/dev/null || : … … 170 172 $(Q)xmllint --noout --nonet --xinclude --postvalid index.xml 171 173 172 .PHONY: blfs all world html pdfnochunks tmpdir clean validxml \174 .PHONY: blfs all world html nochunks tmpdir clean validxml \ 173 175 profile-html wget-list test-links dump-commands validate 176 177 #.PHONY: blfs all world html pdf nochunks tmpdir clean validxml \ 178 profile-html wget-list test-links dump-commands validate
Note:
See TracChangeset
for help on using the changeset viewer.