Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
7ad27881
Commit
7ad27881
authored
Mar 10, 2001
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eliminate some hackery when creating text files (INSTALL) with a few lines
of DSSSL.
parent
a3176dac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
19 deletions
+28
-19
doc/src/sgml/Makefile
doc/src/sgml/Makefile
+10
-17
doc/src/sgml/stylesheet.dsl
doc/src/sgml/stylesheet.dsl
+18
-2
No files found.
doc/src/sgml/Makefile
View file @
7ad27881
...
...
@@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.3
3 2001/03/06 20:41:06
petere Exp $
# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.3
4 2001/03/10 16:05:35
petere Exp $
#
#----------------------------------------------------------------------------
...
...
@@ -134,29 +134,22 @@ $(addsuffix .tex, $(ALLBOOKS)): %.tex: %.sgml $(ALLSGML) stylesheet.dsl catalog
## Semi-automatic generation of some text files.
##
JADE.text
=
$(JADE)
$(JADEFLAGS)
$(SGMLINCLUDE)
-d
stylesheet.dsl
-i
output-text
-t
sgml
INSTALL HISTORY
:
% : %.html
@
echo
"|"
;
\
echo
"| You should now take
\`
$<
', save it as a text file in Netscape,"
;
\
echo
"| and put it in place of the existing
\`
$@
' file."
;
\
echo
"|"
INSTALL.html
:
standalone-install.sgml installation.sgml
$(JADE.text)
-V
nochunks
$+
>
$@
INSTALL.html HISTORY.html
:
%.html : tempfile_%.html
sed
's/Chapter 1. *//g'
$<
>
$@
tempfile_INSTALL.html tempfile_HISTORY.html
:
tempfile_%.html : tempfile_%.sgml
$(JADE.html)
-V
nochunks
$<
>
$@
tempfile_INSTALL.sgml
:
standalone-install.sgml installation.sgml
cat
$+
>
$@
tempfile_HISTORY.sgml
:
release.sgml
(
echo
'<!doctype chapter PUBLIC "-//OASIS//DTD DocBook V3.1//EN">'
;
\
cat
$<
)
>
$@
.INTERMEDIATE
:
tempfile_INSTALL.html tempfile_HISTORY.html tempfile_INSTALL.sgml tempfile_HISTORY.sgml
HISTORY.html
:
release.sgml
(
echo
'<!doctype appendix PUBLIC "-//OASIS//DTD DocBook V3.1//EN">'
;
\
cat
$<
)
>
tempfile_HISTORY.sgml
$(JADE.text)
-V
nochunks tempfile_HISTORY.sgml
>
$@
rm
tempfile_HISTORY.sgml
##
...
...
doc/src/sgml/stylesheet.dsl
View file @
7ad27881
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/stylesheet.dsl,v 1.
6 2001/02/24 12:40:27
petere Exp $ -->
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/stylesheet.dsl,v 1.
7 2001/03/10 16:05:35
petere Exp $ -->
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!-- must turn on one of these with -i on the jade command line -->
<!ENTITY % output-html "IGNORE">
<!ENTITY % output-print "IGNORE">
<!ENTITY % output-text "IGNORE">
<![ %output-html; [
<!ENTITY dbstyle PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA DSSSL>
...
...
@@ -13,6 +14,10 @@
<!ENTITY dbstyle PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA DSSSL>
]]>
<![ %output-text; [
<!ENTITY dbstyle PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA DSSSL>
]]>
]>
<style-sheet>
...
...
@@ -22,7 +27,6 @@
(define pgsql-docs-list "pgsql-docs@postgresql.org")
(define %refentry-xref-manvolnum% #f)
(define %section-autolabel% #t)
(define %callout-graphics% #f)
(define %content-title-end-punct%
...
...
@@ -36,6 +40,7 @@
<![ %output-html; [
;; customize the html stylesheet
(define %section-autolabel% #t)
(define %generate-legalnotice-link% #t)
(define %html-ext% ".html")
(define %link-mailto-url% (string-append "mailto:" pgsql-docs-list))
...
...
@@ -58,6 +63,7 @@
<![ %output-print; [
;; customize the print stylesheet
(define %section-autolabel% #t)
(define %default-quadding% 'justify)
(define bop-footnotes #t)
(define %hyphenation%
...
...
@@ -65,6 +71,16 @@
]]> <!-- %output-print -->
<![ %output-text; [
;; customize HTML stylesheet to be suitable for dumping plain text
;; (for INSTALL file)
(define %section-autolabel% #f)
(define %chapter-autolabel% #f)
(define $generate-chapter-toc$ (lambda () #f))
]]> <!-- %output-text -->
</style-specification-body>
</style-specification>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment