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
68a297aa
Commit
68a297aa
authored
Mar 01, 1998
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try a fancier makefile. Allows real building of html and rtf output
rather than just executing ../Makefile.
parent
f95370ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
114 additions
and
2 deletions
+114
-2
doc/src/sgml/Makefile
doc/src/sgml/Makefile
+114
-2
No files found.
doc/src/sgml/Makefile
View file @
68a297aa
# Stopgap makefile for sgml documentation
#----------------------------------------------------------------------------
#
# Makefile
# Postgres documentation makefile
# Thomas Lockhart
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.2 1998/03/01 20:44:37 thomas Exp $
#
#----------------------------------------------------------------------------
include
../Makefile
PGDOCS
=
../..
SRCDIR
=
../../../src
# This is where the default stylesheets appear on my system.
# Probably no need to change this; rather, put definitions
# for HSTYLE and PSTYLE and/or for HDSL and PDSL
# in Makefile.custom in your code src directory.
HSTYLE
=
/usr/lib/sgml/stylesheets/jade/docbook/html
PSTYLE
=
/usr/lib/sgml/stylesheets/jade/docbook/print
#HSTYLE=/home/tgl/SGML/db107.d/docbook/html
#PSTYLE=/home/tgl/SGML/db107.d/docbook/print
HDSL
=
$(HSTYLE)
/docbook.dsl
PDSL
=
$(PSTYLE)
/docbook.dsl
#DBOPTS= -V %no-split-output% -V %no-make-index%
TAR
=
tar
# Pick up Makefile.global from the source area
# This is the only resource from the code source area and is optional.
# Actually, we want this to get Makefile.custom - thomas 1998-03-01
ifneq
($(wildcard $(SRCDIR)/Makefile.global), )
include
$(SRCDIR)/Makefile.global
endif
# Hmm, made this optional but jade _really_ doesn't like them missing
# - thomas 1998-03-01
ifneq
($(HDSL), )
HTMLOPTS
=
-d
$(HDSL)
endif
ifneq
($(PDSL), )
PRINTOPTS
=
-d
$(PDSL)
endif
.PRECIOUS
:
postgres.tex postgres.dvi
.PHONY
:
install all clean distclean
install
::
# $(MAKE) all
# (mv -rf *.gz ..)
all
::
clean
::
(
rm
-rf
*
.html
*
.htm
)
distclean
::
$(MAKE)
clean
#
# Generic production rules
#
# Compressed file
%.gz
:
%
(
gzip
-f
$<
)
# TAR file for HTML package
%.tar
:
%.html
#
%.ps
(
$(TAR)
cf
$@
$*
.html index.html
*
.htm
*
.gif
)
# $*.ps
(
rm
-rf
index.html
*
.htm
)
# HTML
# Include some softlinks to the generic default file names
%.html
:
%.sgml
#
$(HDSL)
(
rm
-rf
*
.htm
)
jade
$(DBOPTS)
-D
sgml
$(HTMLOPTS)
-t
sgml
$<
(
ln
-sf
book01.htm index.html
)
(
ln
-sf
book01.htm
$*
.html
)
# RTF to allow minor editing for hardcopy
# This is used for v6.3 docs
%.rtf
:
%.sgml
#
$(PDSL)
jade
$(DBOPTS)
$(PRINTOPTS)
-t
rtf
$<
# TeX and DVI
%.tex
:
%.sgml
#
$(PDSL)
jade
$(DBOPTS)
$(PRINTOPTS)
-t
tex
$<
%.dvi
:
%.tex
jadetex
$<
jadetex
$<
# Postscript from TeX
%.ps
:
%.dvi
dvips
-o
$@
$<
# Graphics
%.gif
:
cp
-p
../graphics/%.gif .
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