Changeset adf0149 for Makefile


Ignore:
Timestamp:
07/07/2007 04:12:44 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
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:
2182f2c
Parents:
cfb2ae1
Message:

Changed TMPDIR by RENDERTMP.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6852 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rcfb2ae1 radf0149  
    88BASEDIR= $(HOME)/public_html/blfs-book-xsl
    99DUMPDIR= $(HOME)/blfs-commands
    10 TMPDIR= $(HOME)/tmp
     10RENDERTMP= $(HOME)/tmp
    1111CHUNK_QUIET=1
    1212ROOT_ID=""
     
    2424        $(Q)xsltproc --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
    2525          -stringparam rootid $(ROOT_ID) -stringparam base.dir $(BASEDIR)/ \
    26           stylesheets/blfs-chunked.xsl $(TMPDIR)/blfs-html.xml
     26          stylesheets/blfs-chunked.xsl $(RENDERTMP)/blfs-html.xml
    2727
    2828        @echo "Copying CSS code and images..."
     
    4949        @echo "Generating profiled XML for PDF..."
    5050        $(Q)xsltproc --nonet --stringparam profile.condition pdf \
    51           --output $(TMPDIR)/blfs-pdf.xml stylesheets/lfs-xsl/profile.xsl \
    52           $(TMPDIR)/blfs-full.xml
     51          --output $(RENDERTMP)/blfs-pdf.xml stylesheets/lfs-xsl/profile.xsl \
     52          $(RENDERTMP)/blfs-full.xml
    5353
    5454        @echo "Generating FO file..."
    5555        $(Q)xsltproc --nonet -stringparam rootid $(ROOT_ID) \
    56           --output $(TMPDIR)/blfs-pdf.fo stylesheets/blfs-pdf.xsl $(TMPDIR)/blfs-pdf.xml
    57         $(Q)sed -i -e 's/span="inherit"/span="all"/' $(TMPDIR)/blfs-pdf.fo
     56          --output $(RENDERTMP)/blfs-pdf.fo stylesheets/blfs-pdf.xsl $(RENDERTMP)/blfs-pdf.xml
     57        $(Q)sed -i -e 's/span="inherit"/span="all"/' $(RENDERTMP)/blfs-pdf.fo
    5858
    5959        @echo "Generating PDF file..."
     
    6161          mkdir -p $(BASEDIR); \
    6262        fi;
    63         $(Q)fop $(TMPDIR)/blfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
     63        $(Q)fop $(RENDERTMP)/blfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
    6464
    6565nochunks: validxml profile-html
     
    6767        $(Q)xsltproc --nonet -stringparam rootid $(ROOT_ID) \
    6868          --output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \
    69           stylesheets/blfs-nochunks.xsl $(TMPDIR)/blfs-html.xml
     69          stylesheets/blfs-nochunks.xsl $(RENDERTMP)/blfs-html.xml
    7070
    7171        @echo "Running Tidy..."
     
    7777
    7878tmpdir:
    79         @echo "Creating and cleaning $(TMPDIR)
    80         $(Q)[ -d $(TMPDIR) ] || mkdir -p $(TMPDIR)
    81         $(Q)rm -f $(TMPDIR)/blfs-{full,html,pdf,fo,}.xml
    82         $(Q)rm -f $(TMPDIR)/blfs-{patch-list,patches}
     79        @echo "Creating and cleaning $(RENDERTMP)
     80        $(Q)[ -d $(RENDERTMP) ] || mkdir -p $(RENDERTMP)
     81        $(Q)rm -f $(RENDERTMP)/blfs-{full,html,pdf,fo,}.xml
     82        $(Q)rm -f $(RENDERTMP)/blfs-{patch-list,patches}
    8383
    8484validxml: tmpdir
    8585        @echo "Validating the book..."
    8686        $(Q)xmllint --nonet --noent --xinclude --postvalid \
    87           -o ~$(TMPDIR)/blfs-full.xml index.xml
     87          -o ~$(RENDERTMP)/blfs-full.xml index.xml
    8888
    8989profile-html: validxml
    9090        @echo "Generating profiled XML for XHTML..."
    9191        $(Q)xsltproc --nonet --stringparam profile.condition html \
    92           --output $(TMPDIR)/blfs-html.xml stylesheets/lfs-xsl/profile.xsl \
    93           $(TMPDIR)/blfs-full.xml
     92          --output $(RENDERTMP)/blfs-html.xml stylesheets/lfs-xsl/profile.xsl \
     93          $(RENDERTMP)/blfs-full.xml
    9494
    9595blfs-patch-list: validxml
    9696        @echo "Generating blfs-patch-list..."
    97         $(Q)xsltproc --nonet --output $(TMPDIR)/blfs-patch-list \
    98           stylesheets/patcheslist.xsl $(TMPDIR)/blfs-full.xml
    99         $(Q)sed -e "s|^.*/||" $(TMPDIR)/blfs-patch-list > $(TMPDIR)/blfs-patches
    100         $(Q)sort $(TMPDIR)/blfs-patches > blfs-patch-list
     97        $(Q)xsltproc --nonet --output $(RENDERTMP)/blfs-patch-list \
     98          stylesheets/patcheslist.xsl $(RENDERTMP)/blfs-full.xml
     99        $(Q)sed -e "s|^.*/||" $(RENDERTMP)/blfs-patch-list > $(RENDERTMP)/blfs-patches
     100        $(Q)sort $(RENDERTMP)/blfs-patches > blfs-patch-list
    101101
    102102wget-list: validxml
     
    104104        $(Q)mkdir -p $(BASEDIR)
    105105        $(Q)xsltproc --nonet --output $(BASEDIR)/wget-list \
    106           stylesheets/wget-list.xsl $(TMPDIR)/blfs-full.xml
     106          stylesheets/wget-list.xsl $(RENDERTMP)/blfs-full.xml
    107107
    108108test-links: validxml
     
    111111        $(Q)xsltproc --nonet --stringparam list_mode full \
    112112          --output $(BASEDIR)/test-links stylesheets/wget-list.xsl \
    113           $(TMPDIR)/blfs-full.xml
     113          $(RENDERTMP)/blfs-full.xml
    114114
    115115        @echo "Checking URLs, first pass..."
     
    133133        @echo "Dumping book commands..."
    134134        $(Q)xsltproc --output $(DUMPDIR)/ \
    135            stylesheets/dump-commands.xsl $(TMPDIR)/blfs-full.xml
     135           stylesheets/dump-commands.xsl $(RENDERTMP)/blfs-full.xml
    136136
    137137validate:
Note: See TracChangeset for help on using the changeset viewer.