Changeset 575bba80
- Timestamp:
- 04/08/2008 05:32:00 PM (16 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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, 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/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 1d36178d
- Parents:
- f3a51f3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
rf3a51f3 r575bba80 20 20 endif 21 21 22 blfs: validxml profile-html 22 blfs: html wget-list 23 all: blfs nochunks pdf 24 world: all blfs-patch-list dump-commands test-links 25 26 html: $(BASEDIR)/index.html 27 $(BASEDIR)/index.html: $(RENDERTMP)/blfs-html.xml 23 28 @echo "Generating chunked XHTML files..." 24 29 $(Q)xsltproc --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \ … … 46 51 done; 47 52 48 $(Q)$(MAKE) wget-list 49 50 pdf: validxml 53 pdf: $(BASEDIR)/$(PDF_OUTPUT) 54 $(RENDERTMP)/blfs-pdf.xml: $(RENDERTMP)/blfs-full.xml 51 55 @echo "Generating profiled XML for PDF..." 52 56 $(Q)xsltproc --nonet --stringparam profile.condition pdf \ … … 54 58 $(RENDERTMP)/blfs-full.xml 55 59 60 $(RENDERTMP)/blfs-pdf.fo: $(RENDERTMP)/blfs-full.xml 56 61 @echo "Generating FO file..." 57 62 $(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \ 58 --output $(RENDERTMP)/blfs-pdf.fo stylesheets/blfs-pdf.xsl $(RENDERTMP)/blfs-pdf.xml 63 --output $(RENDERTMP)/blfs-pdf.fo stylesheets/blfs-pdf.xsl \ 64 $(RENDERTMP)/blfs-pdf.xml 59 65 $(Q)sed -i -e 's/span="inherit"/span="all"/' $(RENDERTMP)/blfs-pdf.fo 60 66 67 $(BASEDIR)/$(PDF_OUTPUT): $(RENDERTMP)/blfs-pdf.fo 61 68 @echo "Generating PDF file..." 62 69 $(Q)if [ ! -e $(BASEDIR) ]; then \ … … 65 72 $(Q)fop $(RENDERTMP)/blfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT) 66 73 67 nochunks: validxml profile-html 74 nochunks: $(BASEDIR)/$(NOCHUNKS_OUTPUT) 75 $(BASEDIR)/$(NOCHUNKS_OUTPUT): $(RENDERTMP)/blfs-html.xml 68 76 @echo "Generating non chunked XHTML file..." 69 77 $(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \ … … 78 86 $(BASEDIR)/$(NOCHUNKS_OUTPUT) 79 87 80 tmpdir: 81 @echo "Creating and cleaning $(RENDERTMP)" 88 tmpdir: $(RENDERTMP) 89 $(RENDERTMP): 90 @echo "Creating $(RENDERTMP)" 82 91 $(Q)[ -d $(RENDERTMP) ] || mkdir -p $(RENDERTMP) 92 93 clean: 94 @echo "Cleaning $(RENDERTMP)" 83 95 $(Q)rm -f $(RENDERTMP)/blfs-{full,html,pdf}.xml 84 96 $(Q)rm -f $(RENDERTMP)/blfs-pdf.fo 85 97 $(Q)rm -f $(RENDERTMP)/blfs-{patch-list,patches} 86 98 87 validxml: tmpdir 99 validxml: $(RENDERTMP)/blfs-full.xml 100 $(RENDERTMP)/blfs-full.xml: index.xml general.ent 88 101 @echo "Validating the book..." 102 $(Q)[ -d $(RENDERTMP) ] || mkdir -p $(RENDERTMP) 89 103 $(Q)xmllint --nonet --noent --xinclude --postvalid \ 90 104 -o $(RENDERTMP)/blfs-full.xml index.xml 91 105 92 profile-html: validxml 106 profile-html: $(RENDERTMP)/blfs-html.xml 107 $(RENDERTMP)/blfs-html.xml: $(RENDERTMP)/blfs-full.xml 93 108 @echo "Generating profiled XML for XHTML..." 94 109 $(Q)xsltproc --nonet --stringparam profile.condition html \ … … 96 111 $(RENDERTMP)/blfs-full.xml 97 112 98 blfs-patch-list: validxml113 blfs-patch-list: $(RENDERTMP)/blfs-full.xml 99 114 @echo "Generating blfs-patch-list..." 100 115 $(Q)xsltproc --nonet --output $(RENDERTMP)/blfs-patch-list \ … … 103 118 $(Q)sort $(RENDERTMP)/blfs-patches > blfs-patch-list 104 119 105 wget-list: 120 wget-list: $(BASEDIR)/wget-list 121 $(BASEDIR)/wget-list: $(RENDERTMP)/blfs-full.xml 106 122 @echo "Generating wget list..." 107 $(Q)[ -f $(RENDERTMP)/blfs-full.xml ] || $(MAKE) validxml108 123 $(Q)mkdir -p $(BASEDIR) 109 124 $(Q)xsltproc --nonet --output $(BASEDIR)/wget-list \ 110 125 stylesheets/wget-list.xsl $(RENDERTMP)/blfs-full.xml 111 126 112 test-links: validxml 127 test-links: $(RENDERTMP)/blfs-full.xml 128 $(BASEDIR)/test-links: $(RENDERTMP)/blfs-full.xml 113 129 @echo "Generating test-links file..." 114 130 $(Q)mkdir -p $(BASEDIR) … … 134 150 done 135 151 136 dump-commands: validxml 152 dump-commands: $(DUMPDIR) 153 $(DUMPDIR): $(RENDERTMP)/blfs-full.xml 137 154 @echo "Dumping book commands..." 138 155 $(Q)xsltproc --output $(DUMPDIR)/ \ 139 156 stylesheets/dump-commands.xsl $(RENDERTMP)/blfs-full.xml 157 $(Q)touch $(DUMPDIR) 140 158 141 159 validate: … … 143 161 $(Q)xmllint --noout --nonet --xinclude --postvalid index.xml 144 162 145 all: blfs nochunks pdf 146 147 world: all blfs-patch-list dump-commands test-links 148 149 .PHONY : all blfs blfs-patch-list dump-commands nochunks pdf profile-html \ 150 test-links tmpdir validate validxml wget-list world 163 .PHONY: blfs all world html pdf nochunks tmpdir clean validxml \ 164 profile-html wget-list test-links dump-commands validate
Note:
See TracChangeset
for help on using the changeset viewer.