Changeset a6966fa in clfs-embedded


Ignore:
Timestamp:
Jul 24, 2007, 4:53:59 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
master
Children:
9642843
Parents:
00b1e11
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/Makefile

    r00b1e11 ra6966fa  
    6868
    6969        @echo "Rendering chunked XHTML of $(html_arch)..."
     70        $(Q)mkdir -p $(BASEDIR)/$(html_arch)
    7071        $(Q)xsltproc --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
    7172          -stringparam rootid "$(ROOT_ID)" \
     
    9697
    9798        @echo "Rendering Single File HTML of $(nochunk_arch)..."
     99        $(Q)mkdir -p $(BASEDIR)
    98100        $(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \
    99101          --output $(BASEDIR)/CLFS-EMBEDDED-$(nochunk_arch).html \
     
    128130
    129131        @echo "Rendering PDF of $(pdf_arch)..."
     132        $(Q)mkdir -p $(BASEDIR)
    130133        $(Q)fop $(RENDERTMP)/$(pdf_arch).fo $(BASEDIR)/CLFS-EMBEDDED-$(pdf_arch).pdf
    131134
     
    137140        $(Q)xmllint --xinclude --noout --nonet --postvalid $(PWD)/$(validate_arch)-index.xml
    138141
    139 trouble: $(ARCHS_TROUBLE)
     142trouble: tmpdir $(ARCHS_TROUBLE)
    140143
    141144$(ARCHS_TROUBLE): override trouble_arch =  $(@:%$(S)trouble=%)
     
    152155$(ARCHS_DUMP):
    153156        @echo "Extracting commands from $(dump_arch)..."
     157        $(Q)mkdir -p $(DUMPDIR)/$(dump_arch)
    154158        $(Q)xsltproc --xinclude --nonet --output $(DUMPDIR)/$(dump_arch)/ \
    155159          $(PWD)/stylesheets/dump-commands.xsl $(PWD)/$(dump_arch)-index.xml
     
    160164$(ARCHS_DLLIST):
    161165        @echo "Creating download list for $(dllist_arch)..."
     166        $(Q)mkdir -p $(DLLISTDIR)
    162167        $(Q)xsltproc --xinclude --nonet --output $(DLLISTDIR)/$(dllist_arch).dl.list \
    163168          $(PWD)/stylesheets/wget.xsl $(PWD)/$(dllist_arch)-index.xml
Note: See TracChangeset for help on using the changeset viewer.