Changeset 1881a5b


Ignore:
Timestamp:
06/05/2005 06:51:46 PM (16 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 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, ken/refactor-virt, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
0efab06
Parents:
0dfb754
Message:

Added bluefish from patch from theOldFellow; updated Makefile and README

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

Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r0dfb754 r1881a5b  
    2020                echo "Envar BASEDIR is not set!" ; \
    2121                exit 1 ; \
    22                 fi
     22        fi
    2323        @echo "Generating XHTML Version of BLFS Book with xsltproc..."
    2424        @echo "  BASEDIR = $(BASEDIR)"
     
    4242        xsltproc --xinclude --nonet -stringparam profile.condition html \
    4343        --output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \
    44           stylesheets/blfs-nochunks.xsl index.xml
     44        stylesheets/blfs-nochunks.xsl index.xml
    4545
    4646        tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true
     
    5151pdf:
    5252        xsltproc --xinclude --nonet --output blfs.fo \
    53         stylesheets/blfs-pdf.xsl \
    54           index.xml
     53          stylesheets/blfs-pdf.xsl index.xml
    5554        sed -i -e "s/inherit/all/" blfs.fo
    5655        fop.sh blfs.fo blfs.pdf
     
    5958        mv blfs.pdf $(BASEDIR)pdf
    6059
    61 print:
    62         xsltproc --xinclude --nonet --output blfs-print.fo \
    63         stylesheets/blfs-print.xsl index.xml
    64         sed -i -e "s/inherit/all/" blfs-print.fo
    65         fop.sh blfs-print.fo blfs-print.pdf
    66         $(INSTALL) -d $(BASEDIR)print
    67         rm blfs-print.fo
    68         mv blfs-print.pdf $(BASEDIR)print
    69 
    7060tex:
    7161        @if [ -z $(TEXBASEDIR) ]; then \
    72                 echo "Envar TEXBASEDIR is not set!" ; \
    73                 exit 1 ; \
    74                 fi
     62       echo "Envar TEXBASEDIR is not set!" ; \
     63       exit 1 ; \
     64    fi
    7565        @echo "Generating TeX Version of BLFS Book with xsltproc..."
    7666        @echo "  TEXBASEDIR = $(TEXBASEDIR)"
     
    7969# i.e., Changelog
    8070        xsltproc --nonet --output $(TEXBASEDIR)index.xml \
    81         --stringparam "profile.role" "book" \
     71        --stringparam "profile.role" "book" \
    8272        http://docbook.sourceforge.net/release/xsl/current/profiling/profile.xsl \
    83         index.xml
     73            index.xml
    8474        @cd $(TEXBASEDIR) && xsltproc --nonet -o blfs-book.tex \
    85         $(SRCDIR)/stylesheets/blfs-tex.xsl index.xml
     75            $(SRCDIR)/stylesheets/blfs-tex.xsl index.xml
    8676
    8777validate:
  • README

    r0dfb754 r1881a5b  
    33conversions. Please read the INSTALL file to determine what programs
    44you need to install and where to get instructions to install that software.
    5 Then come back to this file for examples how to convert these files
    6 into various other formats.
    75
    8 These instructions are also incorporated in the Makefile.
     6After that, you can build the html with a simple 'make' command.
     7The default target builds the html in $(HOME)/public_html/blfs-book.
    98
    10 XML to HTML:
    11 ------------
    12 Create a directory in which you want to store the HTML files: ~/blfs-html
    13 Change to the top of the directory where the xml code is located.
    14 Now run:
    15   BASEDIR="~/blfs-html"
    16   xsltproc --xinclude --nonet -stringparam base.dir $(BASEDIR) \
    17      stylesheets/blfs-chunked.xsl index.xml
    18   mkdir -p $(BASEDIR)stylesheets $(BASEDIR)images
    19   cp stylesheets/*.css $(BASEDIR)stylesheets
    20   cp images/*.png $(BASEDIR)/images
    21   sed -i -e "s@../stylesheets@stylesheets@g" $(BASEDIR)/*.html
    22   sed -i -e "s@../images@images@g" $(BASEDIR)/*.html
    23   sh goTidy $(BASEDIR)/
     9Other Makefile targets are: nochunks, pdf, tex, validate, and
     10blfs-patch-list.
    2411
     12nochunks: builds BLFS in one huge file.
    2513
    26 XML to NOCHUNKS-HTML:
    27 --------------------
    28 The NOCHUNKS HTML version is one big HTML file:
    29   xsltproc --xinclude --nonet -stringparam profile.condition html \
    30      --output $(BASEDIR)/BLFS-BOOK.html stylesheets/blfs-nochunks.xsl index.xml
    31   tidy -config tidy.conf $(BASEDIR)/BLFS-BOOK.html
    32   sed -i -e "s@text/html@application/xhtml+xml@g" $(BASEDIR)/BLFS-BOOK.html
     14pdf: builds BLFS as a pdf file.
    3315
    34 XML to TXT:
    35 -----------
    36 First create the NOCHUNKS HTML file, then convert by running:
    37         /usr/bin/lynx -dump nochunks.html > output.txt
     16tex: converts the xml files to tex files
    3817
    39 XML to PDF:
    40 ------------------
    41 xsltproc --xinclude --nonet --output blfs.fo stylesheets/blfs-pdf.xsl index.xml
    42 sed -i -e "s/inherit/all/" blfs.fo
    43 fop.sh blfs.fo blfs.pdf
    44 mkdir -p  $(BASEDIR)/pdf
    45 rm blfs.fo
    46 mv blfs.pdf $(BASEDIR)/pdf
     18validate:  does an extensive check for xml errors in the book.
    4719
     20blfs-patch-list: generates a list of all blfs controlled patches in the book.
  • general.ent

    r0dfb754 r1881a5b  
    1 <!ENTITY day          "04">
     1<!ENTITY day          "05">
    22<!ENTITY month        "06">
    33<!ENTITY year         "2005">
     
    5252<!ENTITY joe-version                  "3.1">
    5353<!ENTITY ed-version                   "0.2">
     54<!ENTITY bluefish-version             "1.0.1">
    5455
    5556<!-- Chapter 7 -->
  • introduction/welcome/changelog.xml

    r0dfb754 r1881a5b  
    2424
    2525  <itemizedlist>
     26
     27    <listitem>
     28      <para>June 5th, 2005 [bdubbs]: Added blufish-1.0.1 from patch
     29      provided by theOldFellow.</para>
     30    </listitem>
    2631
    2732    <listitem>
  • introduction/welcome/credits.xml

    r0dfb754 r1881a5b  
    315315      </listitem>
    316316
     317      <listitem>
     318        <para>bluefish:
     319        <emphasis>theOldFellow</emphasis></para>
     320      </listitem>
     321
    317322    </itemizedlist>
    318323
  • postlfs/editors/editors.xml

    r0dfb754 r1881a5b  
    2121  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="joe.xml"/>
    2222  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ed.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bluefish.xml"/>
    2324  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="others.xml"/>
    2425
Note: See TracChangeset for help on using the changeset viewer.