Changeset 393a3db in clfs-sysroot


Ignore:
Timestamp:
Jul 24, 2007, 9:59:45 AM (15 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
master
Children:
58ccb9a
Parents:
394cdeb
Message:

Create output dirs before generating the documents to avoid race conditions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/Makefile

    r394cdeb r393a3db  
    6969
    7070        @echo "Rendering chunked XHTML of $(html_arch)..."
     71        $(Q)mkdir -p $(BASEDIR)/$(html_arch)
    7172        $(Q)xsltproc --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
    7273          -stringparam rootid "$(ROOT_ID)" \
     
    9798
    9899        @echo "Rendering Single File HTML of $(nochunk_arch)..."
     100        $(Q)mkdir -p $(BASEDIR)
    99101        $(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \
    100102          --output $(BASEDIR)/CLFS-EMBEDDED-$(nochunk_arch).html \
     
    129131
    130132        @echo "Rendering PDF of $(pdf_arch)..."
     133        $(Q)mkdir -p $(BASEDIR)
    131134        $(Q)fop $(RENDERTMP)/$(pdf_arch).fo $(BASEDIR)/CLFS-EMBEDDED-$(pdf_arch).pdf
    132135
     
    138141        $(Q)xmllint --xinclude --noout --nonet --postvalid $(PWD)/$(validate_arch)-index.xml
    139142
    140 trouble: $(ARCHS_TROUBLE)
     143trouble: tmpdir $(ARCHS_TROUBLE)
    141144
    142145$(ARCHS_TROUBLE): override trouble_arch =  $(@:%$(S)trouble=%)
     
    153156$(ARCHS_DUMP):
    154157        @echo "Extracting commands from $(dump_arch)..."
     158        $(Q)mkdir -p $(DUMPDIR)/$(dump_arch)
    155159        $(Q)xsltproc --xinclude --nonet --output $(DUMPDIR)/$(dump_arch)/ \
    156160          $(PWD)/stylesheets/dump-commands.xsl $(PWD)/$(dump_arch)-index.xml
     
    161165$(ARCHS_DLLIST):
    162166        @echo "Creating download list for $(dllist_arch)..."
     167        $(Q)mkdir -p $(DLLISTDIR)
    163168        $(Q)xsltproc --xinclude --nonet --output $(DLLISTDIR)/$(dllist_arch).dl.list \
    164169          $(PWD)/stylesheets/wget.xsl $(PWD)/$(dllist_arch)-index.xml
Note: See TracChangeset for help on using the changeset viewer.