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
ffa399eb
Commit
ffa399eb
authored
Mar 01, 1998
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make this rely on a real Makefile in sgml/.
Implement installation and cleaning.
parent
90dbfa5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
79 deletions
+29
-79
doc/src/Makefile
doc/src/Makefile
+29
-79
No files found.
doc/src/Makefile
View file @
ffa399eb
...
...
@@ -4,20 +4,6 @@
PGDOCS
=
..
SRCDIR
=
../../src
HPATH
=
$(PGDOCS)
/doc
PPATH
=
$(PGDOCS)
/doc
#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
TAREXCLUDE
=
--exclude
=
Makefile
--exclude
=
'*.sgml'
...
...
@@ -28,38 +14,52 @@ ifneq ($(wildcard $(SRCDIR)/Makefile.custom), )
include
$(SRCDIR)/Makefile.custom
endif
TARGETS
=
postgres tutorial user admin programm
er
SRC
=
admin postgres programmer tutorial us
er
HTARGETS
=
#make this a mapping from targets
PTARGETS
=
#make this a mapping from targets
TARGETS
=
$(SRC:%=%.tar.gz)
.PRECIOUS
:
postgres.html postgres.tex postgres.dvi
.PHONY
:
sources
clean
.PRECIOUS
:
.PHONY
:
install all sources clean dist
clean
install
::
$(MAKE)
all
(
mv
-rf
*
.gz ..
)
(
mv
-f
*
.gz ..
)
clean
::
$(MAKE)
-C
sgml clean
distclean
::
$(MAKE)
-C
sgml distclean
all
::
$(
SGO) $(SGP
)
all
::
$(
TARGETS
)
sources
::
(
$(TAR)
zcf sources.tar.gz
--exclude
=
'*.htm*'
--exclude
=
'*.gz'
.
)
(
$(TAR)
zcf sources.tar.gz
sgml graphics
)
user
.tar.gz
:
admin
.tar.gz
:
$(MAKE)
-C
sgml clean
$(MAKE)
-C
sgml user.html
(
$(TAR)
zcf
$@
$(TAREXCLUDE)
-C
sgml .
)
$(MAKE)
-C
sgml admin.html
(
$(TAR)
zcf
$@
$(TAREXCLUDE)
-C
sgml
.
-C
..
-C
graphics layout.gif
)
postgres.tar.gz
:
$(MAKE)
-C
sgml clean
$(MAKE)
-C
sgml postgres.html
(
$(TAR)
zcf
$@
$(TAREXCLUDE)
-C
sgml
.
-C
..
-C
graphics catalogs.gif connections.gif layout.gif
)
programmer.tar.gz
:
$(MAKE)
-C
sgml clean
$(MAKE)
-C
sgml programmer.html
(
$(TAR)
zcf
$@
$(TAREXCLUDE)
-C
sgml
.
-C
..
-C
graphics catalogs.gif connections.gif
)
tutorial.tar.gz
:
$(MAKE)
-C
sgml clean
$(MAKE)
-C
sgml tutorial.html
(
$(TAR)
zcf
$@
$(TAREXCLUDE)
-C
sgml
.
-C
..
-C
graphics clientserver.gif
)
clean
::
(
rm
-rf
*
.html
*
.htm
)
distclean
::
user.tar.gz
:
$(MAKE)
-C
sgml clean
$(MAKE)
-C
sgml user.html
(
$(TAR)
zcf
$@
$(TAREXCLUDE)
-C
sgml .
)
# Generic production rules
...
...
@@ -68,53 +68,3 @@ distclean::
%.gz
:
%
(
gzip
-f
$<
)
# TAR file for HTML package
%.tar
:
%.html
#
%.ps
(
tar
cf
$@
$*
.html index.html
*
.htm
*
.gif
)
# $*.ps
(
rm
-rf
index.html
*
.htm
)
# (mkdir $*)
# (rm -rf $*/*)
# (mv *.htm $*/)
# (cd $*/; ln -sf book01.htm index.html)
# (tar cf $@ $*)
# HTML
# Include some softlinks to the generic default file names
%.html
:
%.sgml $(HDSL)
(
rm
-rf
*
.htm
)
jade
$(DBOPTS)
-D
sgml
-d
$(HDSL)
-t
sgml
$<
(
ln
-sf
book01.htm index.html
)
(
ln
-sf
book01.htm
$*
.html
)
# (mkdir $(HPATH)/$*) # be sure there is somewhere to put them
# (rm -rf $(HPATH)/$*/*) # remove existing files since some names may be obsolete
# (mv *.htm $(HPATH)/$*/) # and copy 'em over
# (cd $(HPATH)/$*/; ln -sf book01.htm index.html)
# RTF to allow minor editing for hardcopy
# This is used for v6.3 docs
%.rtf
:
%.sgml $(PDSL)
jade
$(DBOPTS)
-d
$(PDSL)
-t
rtf
$<
# TeX and DVI
%.tex
:
%.sgml $(PDSL)
jade
$(DBOPTS)
-d
$(PDSL)
-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