- Timestamp:
- 08/07/2014 09:17:28 AM (10 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, 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, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 6d3005f
- Parents:
- 3d8851e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r3d8851e rc41b38f 2 2 # By Tushar Teredesai <tushar@linuxfromscratch.org> 3 3 # 2004-01-31 4 # $LastChangedBy$5 # $Date$6 4 7 5 # Adjust these to suit your installation 8 6 BASEDIR ?= $(HOME)/public_html/blfs-book-xsl 9 7 DUMPDIR ?= $(HOME)/blfs-commands 10 RENDERTMP ?= tmp8 RENDERTMP ?= /tmp 11 9 CHUNK_QUIET = 1 12 10 ROOT_ID = 13 #PDF_OUTPUT = BLFS-BOOK.pdf14 11 NOCHUNKS_OUTPUT = BLFS-BOOK.html 15 SHELL = /bin/ bash12 SHELL = /bin/sh 16 13 17 14 ALLXML := $(filter-out $(RENDERTMP)/%, \ … … 27 24 28 25 blfs: html wget-list 29 #all: blfs nochunks pdf30 26 all: blfs nochunks 31 27 world: all blfs-patch-list dump-commands test-links … … 54 50 tidy -config tidy.conf $$filename; \ 55 51 true; \ 56 bash obfuscate.sh $$filename; \52 sh obfuscate.sh $$filename; \ 57 53 sed -i -e "s@text/html@application/xhtml+xml@g" $$filename; \ 58 54 done; 59 60 #pdf: $(BASEDIR)/$(PDF_OUTPUT)61 #$(RENDERTMP)/blfs-pdf.xml: $(RENDERTMP)/blfs-full.xml62 # @echo "Generating profiled XML for PDF..."63 # $(Q)xsltproc --nonet --stringparam profile.condition pdf \64 --output $(RENDERTMP)/blfs-pdf.xml stylesheets/lfs-xsl/profile.xsl \65 $(RENDERTMP)/blfs-full.xml66 67 #$(RENDERTMP)/blfs-pdf.fo: $(RENDERTMP)/blfs-pdf.xml68 # @echo "Generating FO file..."69 # $(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \70 --output $(RENDERTMP)/blfs-pdf.fo stylesheets/blfs-pdf.xsl \71 $(RENDERTMP)/blfs-pdf.xml72 # $(Q)sed -i -e 's/span="inherit"/span="all"/' $(RENDERTMP)/blfs-pdf.fo73 74 #$(BASEDIR)/$(PDF_OUTPUT): $(RENDERTMP)/blfs-pdf.fo75 # @echo "Generating PDF file..."76 # $(Q)if [ ! -e $(BASEDIR) ]; then \77 mkdir -p $(BASEDIR); \78 fi;79 # $(Q)fop $(RENDERTMP)/blfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)80 55 81 56 nochunks: $(BASEDIR)/$(NOCHUNKS_OUTPUT) … … 100 75 @echo "Cleaning $(RENDERTMP)" 101 76 $(Q)rm -f $(RENDERTMP)/blfs-{full,html}.xml 102 # $(Q)rm -f $(RENDERTMP)/blfs-{full,html,pdf}.xml103 # $(Q)rm -f $(RENDERTMP)/blfs-pdf.fo104 77 $(Q)rm -f $(RENDERTMP)/blfs-{patch-list,patches} 105 78 $(Q)rmdir $(RENDERTMP) 2>/dev/null || : … … 161 134 done 162 135 163 bootscripts:164 @VERSION=`grep "bootscripts-version " general.ent | cut -d\" -f2`; \165 BOOTSCRIPTS="blfs-bootscripts-$$VERSION"; \166 if [ ! -e $$BOOTSCRIPTS.tar.xz ]; then \167 rm -rf $(RENDERTMP)/$$BOOTSCRIPTS; \168 mkdir $(RENDERTMP)/$$BOOTSCRIPTS; \169 cp -a ../bootscripts/* $(RENDERTMP)/$$BOOTSCRIPTS; \170 rm -rf ../bootscripts/archive; \171 tar -cJhf $$BOOTSCRIPTS.tar.xz -C $(RENDERTMP) $$BOOTSCRIPTS; \172 fi173 174 136 dump-commands: $(DUMPDIR) 175 137 $(DUMPDIR): $(RENDERTMP)/blfs-full.xml … … 184 146 185 147 .PHONY: blfs all world html nochunks tmpdir clean validxml \ 186 profile-html wget-list test-links dump-commands validate \187 bootscripts188 189 #.PHONY: blfs all world html pdf nochunks tmpdir clean validxml \190 148 profile-html wget-list test-links dump-commands validate
Note:
See TracChangeset
for help on using the changeset viewer.