Changeset 271d1f96 for BOOK/Makefile


Ignore:
Timestamp:
Jun 4, 2011, 8:28:21 AM (14 years ago)
Author:
Joe Ciccone <jciccone@…>
Children:
193eb68
Parents:
0230c0a (diff), 622df7bc (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into simp

Conflicts:

BOOK/Makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/Makefile

    r0230c0a r271d1f96  
    1 TOP             := $(PWD)
     1TOP             := $(shell pwd)
    22RENDERDIR       := $(TOP)/../render
    33
     
    6868        @echo "Rendering the top-level index..."
    6969        $(Q)xsltproc --nonet --output $(HTMLDIR)/index.html \
    70           $(PWD)/stylesheets/top-index.xsl \
    71           $(PWD)/index.xml
     70          $(TOP)/stylesheets/top-index.xsl \
     71          $(TOP)/index.xml
    7272        @$(MAKE) --no-print-directory tidy-f TIDY_FILE=$(HTMLDIR)/index.html
    7373
     
    8181          --relaxng $(TOP)/schema/clfs/0.1/rng/clfs.rng \
    8282          -o $(VALIDATEDIR)/$(arch)-full.xml \
    83           $(PWD)/$(arch)-index.xml \
     83          $(TOP)/$(arch)-index.xml \
    8484          2>&1 | grep -v " validates$$"; \
    8585          if test $${?} -ne 0; then true; else false; fi
     
    9696          --stringparam clfs.multilib "$($(arch)_ML)" \
    9797          --output $(DBXMLDIR)/$(arch)-db.xml \
    98           $(PWD)/stylesheets/clfs-profile.xsl \
     98          $(TOP)/stylesheets/clfs-profile.xsl \
    9999          $(VALIDATEDIR)/$(arch)-full.xml
    100100
     
    109109          --stringparam profile.condition html \
    110110          --output $(PROFILEDIR)/$(arch)-html.xml \
    111           $(PWD)/stylesheets/lfs-xsl/profile.xsl \
     111          $(TOP)/stylesheets/lfs-xsl/profile.xsl \
    112112          $(DBXMLDIR)/$(arch)-db.xml
    113113
     
    136136          -stringparam rootid "$(ROOT_ID)" \
    137137          -stringparam base.dir $(HTMLDIR)/$(arch)/ \
    138           $(PWD)/stylesheets/clfs-chunked.xsl \
     138          $(TOP)/stylesheets/clfs-chunked.xsl \
    139139          $(PROFILEDIR)/$(arch)-html.xml
    140140
    141141        @echo "Copying CSS code and images for $(arch)..."
    142142        $(Q)mkdir -p $(HTMLDIR)/$(arch)/stylesheets
    143         $(Q)cp $(PWD)/stylesheets/lfs-xsl/*.css $(HTMLDIR)/$(arch)/stylesheets
     143        $(Q)cp $(TOP)/stylesheets/lfs-xsl/*.css $(HTMLDIR)/$(arch)/stylesheets
    144144        $(Q)sed -i -e "s@../stylesheets@stylesheets@g" $(HTMLDIR)/$(arch)/*.html
    145145        $(Q)mkdir -p $(HTMLDIR)/$(arch)/images
    146         $(Q)cp $(PWD)/images/*.png $(HTMLDIR)/$(arch)/images
     146        $(Q)cp $(TOP)/images/*.png $(HTMLDIR)/$(arch)/images
    147147        $(Q)sed -i -e "s@../images@images@g" $(HTMLDIR)/$(arch)/*.html
    148148
     
    161161        $(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \
    162162          --output $(NOCHUNKDIR)/CLFS-$(arch).html \
    163           $(PWD)/stylesheets/clfs-nochunks.xsl \
     163          $(TOP)/stylesheets/clfs-nochunks.xsl \
    164164          $(PROFILEDIR)/$(arch)-html.xml
    165165
     
    178178        $(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \
    179179          --output $(FODIR)/$(arch).fo \
    180           $(PWD)/stylesheets/clfs-pdf.xsl \
     180          $(TOP)/stylesheets/clfs-pdf.xsl \
    181181          $(PROFILEDIR)/$(arch)-html.xml
    182182        $(Q)sed -i -e 's/span="inherit"/span="all"/' $(FODIR)/$(arch).fo
     
    201201        $(Q)xmllint --xinclude --noout --nonet \
    202202          --relaxng $(TOP)/schema/clfs/0.1/rng/clfs.rng \
    203           $(PWD)/$(arch)-index.xml \
     203          $(TOP)/$(arch)-index.xml \
    204204          2>&1 | grep -v " validates$$"; \
    205205          if test $${?} -ne 0; then true; else false; fi
     
    215215          --relaxng $(TOP)/schema/clfs/0.1/rng/clfs.rng \
    216216          -o $(TROUBLEDIR)/dump-$(arch) \
    217           $(PWD)/$(arch)-index.xml \
     217          $(TOP)/$(arch)-index.xml \
    218218          2>&1 | grep -v " validates$$"; \
    219219          if test $${?} -ne 0; then true; else false; fi
     
    234234        $(Q)xsltproc --xinclude --nonet \
    235235          --output $(DUMPDIR)/$(arch)/ \
    236           $(PWD)/stylesheets/dump-commands.xsl \
    237           $(PWD)/$(arch)-index.xml
     236          $(TOP)/stylesheets/dump-commands.xsl \
     237          $(TOP)/$(arch)-index.xml
    238238
    239239ARCHS_DLLIST := $(ARCHS:%=%-dllist)
     
    246246        $(Q)xsltproc --xinclude --nonet \
    247247          --output $(DLLISTDIR)/$(arch).list \
    248           $(PWD)/stylesheets/wget.xsl \
    249           $(PWD)/$(arch)-index.xml
     248          $(TOP)/stylesheets/wget.xsl \
     249          $(TOP)/$(arch)-index.xml
    250250
    251251FG_GREEN := $(shell echo -e '\e[0;32m')
Note: See TracChangeset for help on using the changeset viewer.