Changeset 188e34c


Ignore:
Timestamp:
05/25/2016 03:08:35 AM (8 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
35a5259
Parents:
77ab7f3
Message:

Fix merged Makfile for pdf

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/merge@11075 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r77ab7f3 r188e34c  
    66ROOT_ID =
    77PDF_OUTPUT = LFS-BOOK.pdf
     8PDF_SYSD_OUTPUT = LFS-SYSD-BOOK.pdf
    89NOCHUNKS_OUTPUT = LFS-BOOK.html
    910NOCHUNKS_SYSD_FILE = LFS-SYSD-BOOK.html
     
    9899        @echo "Generating FO file..."
    99100        $(Q)xsltproc --nonet                           \
     101                 --stringparam rootid "$(ROOT_ID)" \
     102                 --output $(RENDERTMP)/lfs-pdf.fo  \
     103                 stylesheets/lfs-pdf.xsl           \
     104                 $(RENDERTMP)/lfs-pdf.xml
     105
     106        $(Q)sed -i -e 's/span="inherit"/span="all"/' $(RENDERTMP)/lfs-pdf.fo
     107        $(Q)bash pdf-fixups.sh $(RENDERTMP)/lfs-pdf.fo
     108
     109        @echo "Generating PDF file..."
     110        $(Q)mkdir -p $(BASEDIR)
     111
     112        $(Q)fop -q  $(RENDERTMP)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT) 2>fop.log
     113        @echo "$(BASEDIR)/$(PDF_OUTPUT) created"
     114        @echo "fop.log created"
     115
     116pdfd: validated
     117        @echo "Generating profiled XML for PDF..."
     118        $(Q)xsltproc --nonet                                \
     119                 --stringparam profile.condition pdf    \
     120                 --stringparam profile.revision systemd \
     121                 --output $(RENDERTMP)/lfs-pdf.xml      \
     122                 stylesheets/lfs-xsl/profile.xsl        \
     123                 $(RENDERTMP)/lfs-full.xml
     124
     125        @echo "Generating FO file..."
     126        $(Q)xsltproc --nonet                          \
    100127                --stringparam rootid "$(ROOT_ID)" \
    101128                --output $(RENDERTMP)/lfs-pdf.fo  \
     
    107134
    108135        @echo "Generating PDF file..."
    109         $(Q)mkdir -p $(BASEDIR)
    110 
    111         $(Q)fop -q  $(RENDERTMP)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT) 2>fop.log
    112         @echo "$(BASEDIR)/$(PDF_OUTPUT) created"
     136        $(Q)mkdir -p $(SYSDDIR)
     137
     138        $(Q)fop -q  $(RENDERTMP)/lfs-pdf.fo $(SYSDDIR)/$(PDF_SYSD_OUTPUT) 2>fop.log
     139        @echo "$(SYSDDIR)/$(PDF_SYSD_OUTPUT) created"
    113140        @echo "fop.log created"
    114141
Note: See TracChangeset for help on using the changeset viewer.