Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
ffa399eb
Commit
ffa399eb
authored
27 years ago
by
Thomas G. Lockhart
Browse files
Options
Downloads
Patches
Plain Diff
Make this rely on a real Makefile in sgml/.
Implement installation and cleaning.
parent
90dbfa5e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/Makefile
+29
-79
29 additions, 79 deletions
doc/src/Makefile
with
29 additions
and
79 deletions
doc/src/Makefile
+
29
−
79
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
distclean
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 .
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment