Changeset 327


Ignore:
Timestamp:
Jan 17, 2006, 12:28:41 AM (14 years ago)
Author:
bcornec
Message:

Use docbook-utils

Location:
branches/2.06/documentation
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.06/documentation/Makefile

    r326 r327  
    44IMAGES=$(shell ls images/*.png)
    55
    6 all: $(TARGET).ps $(TARGET).pdf $(TARGET)/index.html $(TARGET).txt $(TARGET).html
     6all: $(TARGET).ps $(TARGET).pdf $(TARGET)/index.html $(TARGET).txt $(TARGET).html $(TARGET).rtf
    77       
    8 $(TARGET).tex: $(SRC) $(IMAGES) $(DSL)
    9     openjade -t tex -d $(TARGET).dsl'#print' -o $(TARGET).tex $(TARGET).sgml
     8$(TARGET).txt: $(SRC)
     9    docbook2txt -u $(TARGET).sgml -o $(TARGET).txt
    1010
    11 $(TARGET).txt: $(TARGET).html
    12     lynx -dump -force_html $(TARGET).html > $(TARGET).txt
    13 
    14 $(TARGET).ps: $(TARGET).tex
    15     hugelatex --interaction nonstopmode -fmt=jadetex -mltex $(TARGET).tex
    16     hugelatex --interaction nonstopmode -fmt=jadetex -mltex $(TARGET).tex
    17     hugelatex --interaction nonstopmode -fmt=jadetex -mltex $(TARGET).tex
    18     mv $(TARGET).tex.dvi $(TARGET).dvi
    19     dvips -o $(TARGET).ps $(TARGET).dvi
     11$(TARGET).ps: $(SRC) $(DSL) $(IMAGES)
     12    docbook2ps -d $(TARGET).dsl'#print' -o $(TARGET).ps $(TARGET).sgml
    2013
    2114$(TARGET)/index.html: $(SRC) $(DSL) $(IMAGES)
    2215    mkdir -p $(TARGET)
    2316    cd $(TARGET)
    24     openjade -t sgml -d ../$(TARGET).dsl'#html' ../$(TARGET).sgml
     17    docbook2html -d $(TARGET).dsl'#html' $(TARGET).sgml
    2518    cd ..
    2619
    2720$(TARGET).html: $(SRC) $(DSL) $(IMAGES)
    28     openjade -t sgml -d ../$(TARGET).dsl'#txt' ../$(TARGET).sgml
     21    docbook2html -u -d $(TARGET).dsl'#txt' -o $(TARGET).html $(TARGET).sgml
    2922   
    30 $(TARGET)pdf.tex: $(SRC) $(IMAGES) $(DSL)
    31     openjade -t tex -d $(TARGET).dsl'#pdf' -o $(TARGET)pdf.tex $(TARGET).sgml
     23$(TARGET).pdf: $(SRC) $(DSL) $(IMAGES)
     24    docbook2html -u -d $(TARGET).dsl'#pdf' -o $(TARGET).pdf $(TARGET).sgml
    3225
    33 $(TARGET).pdf: $(TARGET)pdf.tex
    34     hugepdflatex --interaction nonstopmode -fmt=pdfjadetex -mltex $(TARGET)pdf.tex
    35     hugepdflatex --interaction nonstopmode -fmt=pdfjadetex -mltex $(TARGET)pdf.tex
    36     hugepdflatex --interaction nonstopmode -fmt=pdfjadetex -mltex $(TARGET)pdf.tex
    37     mv $(TARGET)pdf.tex.pdf $(TARGET).pdf
     26$(TARGET).rtf: $(SRC) $(DSL) $(IMAGES)
     27    docbook2rtf -u -d $(TARGET).dsl'#pdf' -o $(TARGET).rtf $(TARGET).sgml
    3828
    3929clean:
    40     rm -fr $(TARGET).{aux,log,out,tex,dvi,pdf,ps,txt} $(TARGET)
     30    rm -fr $(TARGET).{aux,log,out,tex,dvi,pdf,ps,txt,rtf} $(TARGET)
  • branches/2.06/documentation/mondorescue-howto.sgml

    r324 r327  
    33<!ENTITY curver "VVV">
    44
    5    <!ENTITY WWWB "http://www.mondorescue.org/">
    6    <!ENTITY WWW '<ulink url="http://www.mondorescue.org">MondoRescue</ulink>'>
    7    <!ENTITY gfdl SYSTEM "fdl.sgml">
    8 
    9 <article>
    10 <articleinfo>
     5<!ENTITY WWWB "http://www.mondorescue.org/">
     6<!ENTITY WWW '<ulink url="http://www.mondorescue.org">MondoRescue</ulink>'>
     7<!ENTITY gfdl SYSTEM "fdl.sgml">
     8]>
     9
     10<book>
     11<bookinfo>
    1112<title>MondoRescue HOWTO</title>
    1213<subtitle>
     
    8081</revision>
    8182</revhistory>
    82 </articleinfo>
     83</bookinfo>
    8384
    8485<toc></toc>
     
    577578
    578579</sect1>
     580</book>
Note: See TracChangeset for help on using the changeset viewer.