Changeset 4fe47e3 for BOOK/Makefile
- Timestamp:
- Feb 27, 2011, 4:05:52 PM (14 years ago)
- Children:
- d17cfb8
- Parents:
- eef46e9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/Makefile
reef46e9 r4fe47e3 3 3 4 4 VALIDATEDIR := $(RENDERDIR)/validate 5 DBXMLDIR := $(RENDERDIR)/docbook 5 6 PROFILEDIR := $(RENDERDIR)/profile 6 7 … … 23 24 ppc ppc64 \ 24 25 alpha 26 27 x86_ML := 32 28 x86_64_ML := 32,64 29 x86_64-64_ML := 64 30 sparc_ML := 32 31 sparc64_ML := 32,64 32 sparc64-64_ML := 64 33 mips_ML := 32 34 mips64_ML := 32,n32,64 35 mips64-64_ML := 64 36 ppc_ML := 32 37 ppc64_ML := 32,64 38 alpha_ML := 64 25 39 26 40 ifdef V … … 71 85 if test $${?} -ne 0; then true; else false; fi 72 86 87 ARCHS_DB_XML := $(ARCHS:%=%-db-xml) 88 .PHONY: $(ARCHS_DB_XML) 89 $(ARCHS_DB_XML): override arch = $(@:%-db-xml=%) 90 $(ARCHS_DB_XML): 91 @$(MAKE) --no-print-directory $(arch)-validate_dump-xml 92 @echo "Generating DocBook XML for $(arch)..." 93 $(Q)mkdir -p $(DBXMLDIR) 94 $(Q)xsltproc --nonet \ 95 --stringparam clfs.arch "$(arch)" \ 96 --stringparam clfs.multilib "$($(arch)_ML)" \ 97 --output $(DBXMLDIR)/$(arch)-db.xml \ 98 $(PWD)/stylesheets/clfs-profile.xsl \ 99 $(VALIDATEDIR)/$(arch)-full.xml 100 73 101 ARCHS_P_XML := $(ARCHS:%=%-profiled-xml) 74 102 .PHONY: $(ARCHS_P_XML) 75 103 $(ARCHS_P_XML): override arch = $(@:%-profiled-xml=%) 76 104 $(ARCHS_P_XML): 77 @$(MAKE) --no-print-directory $(arch)- validate_dump-xml105 @$(MAKE) --no-print-directory $(arch)-db-xml 78 106 @echo "Profiling $(arch) for rendering..." 79 107 $(Q)mkdir -p $(PROFILEDIR) 80 $(Q)xsltproc --nonet --stringparam profile.condition html \ 108 $(Q)xsltproc --nonet \ 109 --stringparam profile.condition html \ 81 110 --output $(PROFILEDIR)/$(arch)-html.xml \ 82 111 $(PWD)/stylesheets/lfs-xsl/profile.xsl \ 83 $( VALIDATEDIR)/$(arch)-full.xml112 $(DBXMLDIR)/$(arch)-db.xml 84 113 85 114 ARCHS_VDB_XML := $(ARCHS:%=%-validate_db-xml) … … 90 119 $(Q)xmllint --noout --nonet \ 91 120 --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \ 92 $( VALIDATEDIR)/$(arch)-full.xml \121 $(PROFILEDIR)/$(arch)-html.xml \ 93 122 2>&1 | grep -v " validates$$"; \ 94 123 if test $${?} -ne 0; then true; else false; fi
Note:
See TracChangeset
for help on using the changeset viewer.