- Timestamp:
- 06/02/2016 05:39:31 AM (8 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 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, 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:
- 39045922
- Parents:
- 9377577
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r9377577 rf852e706 36 36 NOCHUNKS_OUTPUT ?= blfs-book.html 37 37 DUMPDIR ?= ~/blfs-commands 38 BLFSHTML ?= blfs-html.xml 39 BLFSHTML2 ?= blfs-html2.xml 40 BLFSFULL ?= blfs-full.xml 38 41 else 39 42 BASEDIR ?= $(HOME)/public_html/blfs-systemd 40 43 NOCHUNKS_OUTPUT ?= blfs-sysd-book.html 41 44 DUMPDIR ?= ~/blfs-sysd-commands 45 BLFSHTML ?= blfs-systemd-html.xml 46 BLFSHTML2 ?= blfs-systemd-html2.xml 47 BLFSFULL ?= blfs-systemd-full.xml 48 42 49 endif 43 50 … … 49 56 50 57 html: $(BASEDIR)/index.html 51 $(BASEDIR)/index.html: $(RENDERTMP)/ blfs-html.xml58 $(BASEDIR)/index.html: $(RENDERTMP)/$(BLFSHTML) 52 59 @echo "Generating chunked XHTML files..." 53 60 $(Q)xsltproc --nonet \ … … 56 63 --stringparam base.dir $(BASEDIR)/ \ 57 64 stylesheets/blfs-chunked.xsl \ 58 $(RENDERTMP)/ blfs-html.xml65 $(RENDERTMP)/$(BLFSHTML) 59 66 60 67 @echo "Copying CSS code and images..." … … 83 90 84 91 nochunks: $(BASEDIR)/$(NOCHUNKS_OUTPUT) 85 $(BASEDIR)/$(NOCHUNKS_OUTPUT): $(RENDERTMP)/ blfs-html.xml92 $(BASEDIR)/$(NOCHUNKS_OUTPUT): $(RENDERTMP)/$(BLFSHTML) 86 93 @echo "Generating non-chunked XHTML file..." 87 94 $(Q)xsltproc --nonet \ … … 89 96 --output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \ 90 97 stylesheets/blfs-nochunks.xsl \ 91 $(RENDERTMP)/ blfs-html.xml98 $(RENDERTMP)/$(BLFSHTML) 92 99 93 100 @echo "Running Tidy and obfuscate.sh on non-chunked XHTML..." … … 103 110 clean: 104 111 @echo "Cleaning $(RENDERTMP)" 105 $(Q)rm -f $(RENDERTMP)/blfs-{full,html}.xml 106 $(Q)rm -f $(RENDERTMP)/blfs-{patch-list,patches} 107 108 validate: $(RENDERTMP)/blfs-full.xml 109 $(RENDERTMP)/blfs-full.xml: general.ent $(ALLXML) $(ALLXSL) 112 $(Q)rm -f $(RENDERTMP)/blfs* 113 114 validate: $(RENDERTMP)/$(BLFSFULL) 115 $(RENDERTMP)/$(BLFSFULL): general.ent $(ALLXML) $(ALLXSL) 110 116 $(Q)[ -d $(RENDERTMP) ] || mkdir -p $(RENDERTMP) 111 117 … … 113 119 $(Q)xsltproc --nonet \ 114 120 --xinclude \ 115 --output $(RENDERTMP)/ blfs-html2.xml\121 --output $(RENDERTMP)/$(BLFSHTML2) \ 116 122 --stringparam profile.revision $(REV) \ 117 123 stylesheets/lfs-xsl/profile.xsl \ … … 122 128 --noent \ 123 129 --postvalid \ 124 --output $(RENDERTMP)/ blfs-full.xml\125 $(RENDERTMP)/ blfs-html2.xml126 127 profile-html: $(RENDERTMP)/ blfs-html.xml128 $(RENDERTMP)/ blfs-html.xml: $(RENDERTMP)/blfs-full.xml130 --output $(RENDERTMP)/$(BLFSFULL) \ 131 $(RENDERTMP)/$(BLFSHTML2) 132 133 profile-html: $(RENDERTMP)/$(BLFSHTML) 134 $(RENDERTMP)/$(BLFSHTML): $(RENDERTMP)/$(BLFSFULL) 129 135 @echo "Generating profiled XML for XHTML..." 130 136 $(Q)xsltproc --nonet \ 131 137 --stringparam profile.condition html \ 132 --output $(RENDERTMP)/ blfs-html.xml\138 --output $(RENDERTMP)/$(BLFSHTML) \ 133 139 stylesheets/lfs-xsl/profile.xsl \ 134 $(RENDERTMP)/ blfs-full.xml140 $(RENDERTMP)/$(BLFSFULL) 135 141 136 142 blfs-patch-list: blfs-patches.sh … … 139 145 blfs-patches.sh > blfs-patch-list 140 146 141 blfs-patches.sh: $(RENDERTMP)/ blfs-full.xml147 blfs-patches.sh: $(RENDERTMP)/$(BLFSFULL) 142 148 @echo "Generating blfs patch script..." 143 149 $(Q)xsltproc --nonet \ 144 150 --output blfs-patches.sh \ 145 151 stylesheets/patcheslist.xsl \ 146 $(RENDERTMP)/ blfs-full.xml152 $(RENDERTMP)/$(BLFSFULL) 147 153 148 154 wget-list: $(BASEDIR)/wget-list 149 $(BASEDIR)/wget-list: $(RENDERTMP)/ blfs-full.xml155 $(BASEDIR)/wget-list: $(RENDERTMP)/$(BLFSFULL) 150 156 @echo "Generating wget list for $(REV) at $(BASEDIR)/wget-list ..." 151 157 $(Q)mkdir -p $(BASEDIR) … … 153 159 --output $(BASEDIR)/wget-list \ 154 160 stylesheets/wget-list.xsl \ 155 $(RENDERTMP)/ blfs-full.xml161 $(RENDERTMP)/$(BLFSFULL) 156 162 157 163 test-links: $(BASEDIR)/test-links 158 $(BASEDIR)/test-links: $(RENDERTMP)/ blfs-full.xml164 $(BASEDIR)/test-links: $(RENDERTMP)/$(BLFSFULL) 159 165 @echo "Generating test-links file..." 160 166 $(Q)mkdir -p $(BASEDIR) … … 163 169 --output $(BASEDIR)/test-links \ 164 170 stylesheets/wget-list.xsl \ 165 $(RENDERTMP)/ blfs-full.xml171 $(RENDERTMP)/$(BLFSFULL) 166 172 167 173 @echo "Checking URLs, first pass..." … … 197 203 fi 198 204 205 systemd-units: 206 @VERSION=`grep "systemd-units-version " general.ent | cut -d\" -f2`; \ 207 UNITS="blfs-systemd-units-$$VERSION"; \ 208 if [ ! -e $$UNITS.tar.xz ]; then \ 209 rm -rf $(RENDERTMP)/$$UNITS; \ 210 mkdir $(RENDERTMP)/$$UNITS; \ 211 cp -a ../systemd-units/* $(RENDERTMP)/$$UNITS; \ 212 tar -cJhf $$UNITS.tar.xz -C $(RENDERTMP) $$UNITS; \ 213 fi 214 199 215 dump-commands: $(DUMPDIR) 200 $(DUMPDIR): $(RENDERTMP)/ blfs-full.xml216 $(DUMPDIR): $(RENDERTMP)/$(BLFSFULL) 201 217 @echo "Dumping book commands..." 202 218 $(Q)xsltproc --output $(DUMPDIR)/ \ 203 219 stylesheets/dump-commands.xsl \ 204 $(RENDERTMP)/ blfs-full.xml220 $(RENDERTMP)/$(BLFSFULL) 205 221 $(Q)touch $(DUMPDIR) 206 222 207 223 .PHONY: blfs all world html nochunks tmpdir clean \ 208 224 validate profile-html blfs-patch-list wget-list test-links \ 209 dump-commands bootscripts 210 211 225 dump-commands bootscripts systemd-units 226 227
Note:
See TracChangeset
for help on using the changeset viewer.