Get rid of no longer needed files.
This commit is contained in:
parent
9e849c0044
commit
ae3faeb066
|
@ -78,7 +78,7 @@ ps: $(ALLBOOKS:%=%.ps)
|
|||
$(DB2HTML) -d $(SRCDIR)/default.dsl -o $* $<
|
||||
|
||||
.sgml.pdf:
|
||||
$(DB2PDF) -d $(SRCDIR)/print.dsl $< >/dev/null
|
||||
$(DB2PDF) $< >/dev/null
|
||||
|
||||
.sgml.ps:
|
||||
$(DB2PS) $< >/dev/null
|
||||
|
|
|
@ -1,85 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
## John R. Sheets <jsheets@codeweavers.com>
|
||||
|
||||
## This is a convenience script for building the website docs for
|
||||
## www.winehq.com. It creates tarballs of the HTML with special
|
||||
## server-side includes and CSS settings that aren't appropriate for
|
||||
## the mainline Wine tree. For this reason, and to make it easier to
|
||||
## set up an automated website update system, I'm putting this in
|
||||
## a standalone shell script.
|
||||
##
|
||||
## There's no need to invoke the Wine make system just for web
|
||||
## updates. For example, we can just grab the documentation
|
||||
## subdirectory, without having to pull the entire wine tree:
|
||||
##
|
||||
## $ cvs co wine/documentation
|
||||
## $ cd wine/documentation
|
||||
## $ ./make_winehq
|
||||
## $ rsync ...
|
||||
|
||||
WWWDIR=www.winehq.com
|
||||
## Want to put this into a sub-directory for easier maintenance
|
||||
if [ -d "$WWWDIR" -o -f "$WWWDIR" ]; then
|
||||
rm -rf "$WWWDIR.old"
|
||||
mv "$WWWDIR" "$WWWDIR".old
|
||||
fi
|
||||
mkdir "$WWWDIR"
|
||||
|
||||
## Create five-book HTML tarball
|
||||
echo "db2html wine-user.sgml"
|
||||
db2html wine-user.sgml
|
||||
echo "db2html wine-devel.sgml"
|
||||
db2html wine-devel.sgml
|
||||
echo "db2html winelib-user.sgml"
|
||||
db2html winelib-user.sgml
|
||||
echo "db2html wine-faq.sgml"
|
||||
db2html wine-faq.sgml
|
||||
tar czf winedoc-html.tgz wine-user wine-devel winelib-user wine-faq
|
||||
cp winedoc-html.tgz "$WWWDIR"
|
||||
|
||||
## Create PostScript tarball
|
||||
echo "db2ps -d ./print.dsl wine-user.sgml"
|
||||
db2ps -d ./print.dsl wine-user.sgml > /dev/null 2>&1
|
||||
echo "db2ps -d ./print.dsl wine-devel.sgml"
|
||||
db2ps -d ./print.dsl wine-devel.sgml > /dev/null 2>&1
|
||||
echo "db2ps -d ./print.dsl winelib-user.sgml"
|
||||
db2ps -d ./print.dsl winelib-user.sgml > /dev/null 2>&1
|
||||
echo "db2ps -d ./print.dsl wine-faq.sgml"
|
||||
db2ps -d ./print.dsl wine-faq.sgml > /dev/null 2>&1
|
||||
tar czf winedoc-ps.tgz wine-user.ps wine-devel.ps winelib-user.ps wine-faq.ps
|
||||
cp winedoc-ps.tgz "$WWWDIR"
|
||||
|
||||
## Create PDF tarball
|
||||
echo "db2pdf -d ./print.dsl wine-user.sgml"
|
||||
db2pdf -d ./print.dsl wine-user.sgml > /dev/null 2>&1
|
||||
echo "db2pdf -d ./print.dsl wine-devel.sgml"
|
||||
db2pdf -d ./print.dsl wine-devel.sgml > /dev/null 2>&1
|
||||
echo "db2pdf -d ./print.dsl winelib-user.sgml"
|
||||
db2pdf -d ./print.dsl winelib-user.sgml > /dev/null 2>&1
|
||||
echo "db2pdf -d ./print.dsl wine-faq.sgml"
|
||||
db2pdf -d ./print.dsl wine-faq.sgml > /dev/null 2>&1
|
||||
tar czf winedoc-pdf.tgz wine-user.pdf wine-devel.pdf winelib-user.pdf wine-faq.pdf
|
||||
cp winedoc-pdf.tgz "$WWWDIR"
|
||||
|
||||
## Create SGML tarball
|
||||
echo "Creating SGML package..."
|
||||
tar czf winedoc-sgml.tgz *.sgml *.dsl *.ent
|
||||
cp winedoc-sgml.tgz "$WWWDIR"
|
||||
|
||||
## Done creating downloadable tarballs for users. Now we want to
|
||||
## create a tarball of SHTML in a slightly different form, for the
|
||||
## website. These versions use special server-side includes which
|
||||
## aren't appropriate outside of winehq.com.
|
||||
|
||||
## Create four-book SHTML tarball
|
||||
echo "db2html wine-user.sgml"
|
||||
db2html wine-user.sgml
|
||||
echo "db2html wine-devel.sgml"
|
||||
db2html wine-devel.sgml
|
||||
echo "db2html winelib-user.sgml"
|
||||
db2html winelib-user.sgml
|
||||
echo "db2html wine-faq.sgml"
|
||||
db2html wine-faq.sgml
|
||||
tar czf winehq-shtml.tgz wine-user wine-devel winelib-user wine-faq
|
||||
cp winehq-shtml.tgz "$WWWDIR"
|
|
@ -1,111 +0,0 @@
|
|||
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
|
||||
<!ENTITY print-ss PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA DSSSL>
|
||||
]>
|
||||
|
||||
<style-sheet>
|
||||
|
||||
<style-specification id="print" use="print-stylesheet">
|
||||
<style-specification-body>
|
||||
|
||||
;; I was hoping that this would take out the many blank pages in the
|
||||
;; PDF file, but it doesn't, it just slides the page numbers over.
|
||||
(define %two-side% #f)
|
||||
|
||||
(define %generate-book-titlepage% #t)
|
||||
|
||||
;;Titlepage Not Separate
|
||||
(define (chunk-skip-first-element-list)
|
||||
(list (normalize "sect1")
|
||||
(normalize "section")))
|
||||
|
||||
;;Titlepage Separate?
|
||||
;(define (chunk-skip-first-element-list)
|
||||
; '())
|
||||
|
||||
(define (list-element-list)
|
||||
;; fixes bug in Table of Contents generation
|
||||
'())
|
||||
|
||||
(define (toc-depth nd)
|
||||
2)
|
||||
|
||||
;; This seems to have no affect
|
||||
(define %generate-book-titlepage-on-separate-page% #f)
|
||||
|
||||
(define %body-start-indent%
|
||||
;; Default indent of body text
|
||||
2pi)
|
||||
|
||||
(define %para-indent-firstpara%
|
||||
;; First line start-indent for the first paragraph
|
||||
0pt)
|
||||
|
||||
(define %para-indent%
|
||||
;; First line start-indent for paragraphs (other than the first)
|
||||
0pt)
|
||||
|
||||
(define %block-start-indent%
|
||||
;; Extra start-indent for block-elements
|
||||
2pt)
|
||||
|
||||
;;Define distance between paragraphs
|
||||
(define %para-sep%
|
||||
(/ %bf-size% 2.0))
|
||||
|
||||
;;Define distance between block elements (figures, tables, etc.).
|
||||
(define %block-sep%
|
||||
(* %para-sep% 1.0))
|
||||
;; (* %para-sep% 2.0))
|
||||
|
||||
(define %hyphenation%
|
||||
;; Allow automatic hyphenation?
|
||||
#t)
|
||||
|
||||
(define %left-margin% 5pi)
|
||||
(define %right-margin% 5pi)
|
||||
(define %top-margin% 5pi)
|
||||
(define %bottom-margin% 5pi)
|
||||
|
||||
(define %footer-margin% 2pi)
|
||||
(define %header-margin% 2pi)
|
||||
|
||||
(define %line-spacing-factor% 1.3)
|
||||
;; Factor used to calculate leading
|
||||
;; The leading is calculated by multiplying the current font size by the
|
||||
;; '%line-spacing-factor%'. For example, if the font size is 10pt and
|
||||
;; the '%line-spacing-factor%' is 1.1, then the text will be
|
||||
;; printed "10-on-11".
|
||||
|
||||
(define %head-before-factor%
|
||||
;; Factor used to calculate space above a title
|
||||
;; The space before a title is calculated by multiplying the font size
|
||||
;; used in the title by the '%head-before-factor%'.
|
||||
;; 0.75)
|
||||
0.5)
|
||||
|
||||
(define %head-after-factor%
|
||||
;; Factor used to calculate space below a title
|
||||
;; The space after a title is calculated by multiplying the font size used
|
||||
;; in the title by the '%head-after-factor%'.
|
||||
0.5)
|
||||
|
||||
(define %input-whitespace-treatment% 'collapse)
|
||||
|
||||
(define ($generate-book-lot-list$)
|
||||
;; Which Lists of Titles should be produced for Books?
|
||||
(list ))
|
||||
|
||||
(define tex-backend
|
||||
;; Are we using the TeX backend?
|
||||
;; This parameter exists so that '-V tex-backend' can be used on the
|
||||
;; command line to explicitly select the TeX backend.
|
||||
#t)
|
||||
|
||||
</style-specification-body>
|
||||
</style-specification>
|
||||
|
||||
<external-specification id="print-stylesheet" document="print-ss">
|
||||
|
||||
</style-sheet>
|
||||
|
||||
|
|
@ -1,46 +0,0 @@
|
|||
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
|
||||
<!ENTITY walsh-style PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA DSSSL>
|
||||
<!ENTITY cygnus-style SYSTEM "/usr/lib/sgml/stylesheet/dsssl/docbook/cygnus/cygnus-both.dsl" CDATA DSSSL>
|
||||
]>
|
||||
|
||||
<style-sheet>
|
||||
<style-specification id="html" use="docbook">
|
||||
<style-specification-body>
|
||||
|
||||
(define %use-id-as-filename% #t)
|
||||
(define %html-ext% ".shtml")
|
||||
(define %html-header-tags% '())
|
||||
|
||||
(define %stylesheet% "../../winehq.css")
|
||||
(define %stylesheet-type% "text/css")
|
||||
|
||||
(define %shade-verbatim% #t)
|
||||
(define %section-autolabel% #t)
|
||||
|
||||
;; Define new HTML headers
|
||||
(define ($html-body-start$)
|
||||
(make sequence
|
||||
(make formatting-instruction data: "<!--")
|
||||
(literal "#include file=\"header.html\" ")
|
||||
(make formatting-instruction data: "-->")))
|
||||
(define ($html-body-end$)
|
||||
(make sequence
|
||||
(make formatting-instruction data: "<!--")
|
||||
(literal "#include file=\"footer.html\" ")
|
||||
(make formatting-instruction data: "-->")))
|
||||
|
||||
;; Customize the body tag attributes
|
||||
;;(define %body-attr%
|
||||
;; (list
|
||||
;; (list "BGCOLOR" "#555555")
|
||||
;; (list "TEXT" "#000000")
|
||||
;; (list "LINK" "#0000FF")
|
||||
;; (list "VLINK" "#840084")
|
||||
;; (list "ALINK" "#0000FF")))
|
||||
|
||||
</style-specification-body>
|
||||
</style-specification>
|
||||
|
||||
<external-specification id="docbook" document="walsh-style">
|
||||
|
||||
</style-sheet>
|
Loading…
Reference in New Issue