Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rca22630 rcdc6053  
    2727  PDF_OUTPUT      ?= LFS-BOOK.pdf
    2828  NOCHUNKS_OUTPUT ?= LFS-BOOK.html
    29   DUMPDIR         ?= ~/cross-lfs-commands
     29  DUMPDIR         ?= ~/lfs-commands
    3030else
    3131  BASEDIR         ?= ~/lfs-systemd
     
    137137               --noent                      \
    138138               --postvalid                  \
    139                     -o $(RENDERTMP)/lfs-full.xml \
     139               -o $(RENDERTMP)/lfs-full.xml \
    140140               $(RENDERTMP)/lfs-html2.xml
    141141
     
    148148        $(Q)xsltproc --nonet                              \
    149149                --stringparam profile.condition html \
    150                      --output $(RENDERTMP)/lfs-html.xml   \
     150                --output $(RENDERTMP)/lfs-html.xml   \
    151151                stylesheets/lfs-xsl/profile.xsl      \
    152                      $(RENDERTMP)/lfs-full.xml
     152                $(RENDERTMP)/lfs-full.xml
    153153
    154154wget-list: $(BASEDIR)/wget-list $(BASEDIR)/wget-list-$(REV)
     
    159159        $(Q)xsltproc --xinclude --nonet            \
    160160                --output $(BASEDIR)/wget-list \
    161                      stylesheets/wget-list.xsl     \
     161                stylesheets/wget-list.xsl     \
    162162                chapter03/chapter03.xml
    163163
     
    198198        $(Q)./git-version.sh $(REV)
    199199
    200 #dump-commands: validate
    201 #       @echo "Dumping book commands..."
    202 #       $(Q)xsltproc --nonet                     \
    203 #      --output $(RENDERTMP)/lfs-html.xml    \
    204 #      --stringparam profile.revision $(REV) \
    205 #      stylesheets/lfs-xsl/profile.xsl       \
    206 #      $(RENDERTMP)/lfs-full.xml
    207 
    208 #       $(Q)rm -rf $(DUMPDIR)
    209 
    210 #       $(Q)xsltproc --output $(DUMPDIR)/          \
    211 #                stylesheets/dump-commands.xsl \
    212 #                $(RENDERTMP)/lfs-html.xml
    213 #       @echo "Dumping book commands complete in $(DUMPDIR)"
    214 
    215 all: book nochunks pdf # dump-commands
     200dump-commands: validate
     201        @echo "Dumping book commands..."
     202
     203        $(Q)rm -rf $(DUMPDIR)
     204
     205        $(Q)xsltproc --output $(DUMPDIR)/          \
     206                stylesheets/dump-commands.xsl \
     207                $(RENDERTMP)/lfs-full.xml
     208        @echo "Dumping book commands complete in $(DUMPDIR)"
     209
     210all: book nochunks pdf dump-commands
    216211
    217212.PHONY : all book dump-commands nochunks pdf profile-html tmpdir validate md5sums wget-list version
Note: See TracChangeset for help on using the changeset viewer.