Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit66f8da0

Browse files
committed
Update
1 parented62104 commit66f8da0

File tree

4 files changed

+412
-11375
lines changed

4 files changed

+412
-11375
lines changed

‎doc/src/sgml/ref/Makefile

Lines changed: 197 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,197 @@
1+
#----------------------------------------------------------------------------
2+
#
3+
# Makefile
4+
#Postgres documentation makefile
5+
#Thomas Lockhart
6+
#
7+
# Copyright (c) 1994, Regents of the University of California
8+
#
9+
#
10+
# IDENTIFICATION
11+
# $Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/Makefile,v 1.1 1999/12/05 20:04:39 momjian Exp $
12+
#
13+
#----------------------------------------------------------------------------
14+
15+
PGDOCS= ../..
16+
SRCDIR= ../../../src
17+
18+
# This is where the default stylesheets appear on my linux system.
19+
# Probably no need to change this; rather, put definitions
20+
# for HSTYLE and PSTYLE and/or for HDSL and PDSL
21+
# in Makefile.custom in your code src directory.
22+
#HSTYLE=/usr/lib/sgml/stylesheets/nwalsh-modular/html
23+
#PSTYLE=/usr/lib/sgml/stylesheets/nwalsh-modular/print
24+
# This is where the production stylesheets appear on postgresql.org
25+
26+
HSTYLE= /home/users/t/thomas/db118.d/docbook/html
27+
PSTYLE= /home/users/t/thomas/db118.d/docbook/print
28+
29+
HDSL=$(HSTYLE)/docbook.dsl
30+
PDSL=$(PSTYLE)/docbook.dsl
31+
32+
# Options for DocBook style sheets
33+
34+
DBOPTS= -D ref -D ../graphics
35+
#DBOPTS+= -V %no-split-output% -V %no-make-index%
36+
# use-id-as-filename picks up the "Id=" fields to use as file names.
37+
# If this is omitted then file names are generic "c01.htm"
38+
# as in v6.3 documentation. Yuck.
39+
DBOPTS+= -V %use-id-as-filename%
40+
41+
# docbook2man generates man pages from docbook refentry source code.
42+
# This is where the (patched) docbook2man perl scripts reside on hub.org.
43+
44+
D2MDIR= /home/users/t/thomas/d2x/docbook2man
45+
D2MSCRIPT=$(D2MDIR)/docbook2man-spec.pl
46+
47+
TAR= tar
48+
49+
# Pick up Makefile.global from the source area
50+
# This is the only resource from the code source area and is optional.
51+
# Actually, we want this to get Makefile.custom - thomas 1998-03-01
52+
53+
ifneq ($(wildcard$(SRCDIR)/Makefile.global),)
54+
include$(SRCDIR)/Makefile.global
55+
endif
56+
57+
# Hmm, made this optional but jade _really_ doesn't like them missing
58+
# - thomas 1998-03-01
59+
ifneq ($(HDSL), )
60+
HTMLOPTS= -d$(HDSL)
61+
endif
62+
ifneq ($(PDSL), )
63+
PRINTOPTS= -d$(PDSL)
64+
endif
65+
66+
vpath%.sgml ./ref
67+
68+
MANSOURCES=$(wildcard ref/*.sgml)
69+
70+
APPLICATIONS= createdb.sgml createuser.sgml\
71+
createlang.sgml\
72+
dropdb.sgml dropuser.sgml\
73+
droplang.sgml\
74+
initdb.sgml initlocation.sgml\
75+
ipcclean.sgml\
76+
pg_dump.sgml\
77+
pg_dumpall.sgml\
78+
pg_upgrade.sgml\
79+
pgaccess-ref.sgml\
80+
pgadmin-ref.sgml\
81+
pgtclsh.sgml\
82+
pgtksh.sgml\
83+
postgres-ref.sgml\
84+
postmaster.sgml\
85+
psql-ref.sgml\
86+
vacuumdb.sgml
87+
88+
COMMANDS= abort.sgml alter_table.sgml alter_user.sgml\
89+
begin.sgml\
90+
close.sgml cluster.sgml commit.sgml copy.sgml\
91+
create_aggregate.sgml create_database.sgml create_function.sgml create_index.sgml\
92+
create_language.sgml create_operator.sgml create_rule.sgml create_sequence.sgml\
93+
create_table.sgml create_table_as.sgml create_trigger.sgml create_type.sgml\
94+
create_user.sgml create_view.sgml\
95+
declare.sgml delete.sgml\
96+
drop_aggregate.sgml drop_database.sgml drop_function.sgml drop_index.sgml\
97+
drop_language.sgml drop_operator.sgml drop_rule.sgml drop_sequence.sgml\
98+
drop_table.sgml drop_trigger.sgml drop_type.sgml drop_user.sgml drop_view.sgml\
99+
explain.sgml fetch.sgml grant.sgml\
100+
insert.sgml listen.sgml load.sgml lock.sgml move.sgml\
101+
notify.sgml\
102+
reset.sgml revoke.sgml rollback.sgml\
103+
select.sgml select_into.sgml set.sgml show.sgml\
104+
unlisten.sgml update.sgml vacuum.sgml
105+
106+
FUNCTIONS= current_date.sgml current_time.sgml current_timestamp.sgml current_user.sgml
107+
108+
#APPSOURCES= $(addprefix ref/, $(APPLICATIONS))
109+
#SQLSOURCES= $(addprefix ref/, $(COMMANDS))
110+
APPSOURCES=$(APPLICATIONS)
111+
SQLSOURCES=$(COMMANDS)
112+
XAPPTARGETS=$(APPLICATIONS:.sgml=.1)
113+
APPTARGETS=$(XAPPTARGETS:-ref.1=.1)
114+
XSQLTARGETS=$(COMMANDS:.sgml=.l)
115+
SQLTARGETS=$(XSQLTARGETS:-ref.l=.l)
116+
117+
.PRECIOUS: postgres.tex postgres.dvi
118+
.PHONY: install all clean distclean
119+
120+
install::
121+
122+
all::
123+
124+
man:
125+
$(MAKE) man1 manl
126+
($(RM) -r*.1*.l man1 manl)
127+
$(MAKE) man1 manl
128+
129+
manpage.refs:
130+
$(MAKE) man
131+
132+
man1:$(APPTARGETS) manpage.refs
133+
$(RM) -rf man1
134+
if [!-d man1 ];then mkdir man1;fi
135+
cp*.1 man1/
136+
137+
manl:$(SQLTARGETS) manpage.refs
138+
$(RM) -rf manl/*
139+
if [!-d manl ];then mkdir manl;fi
140+
cp*.l manl/
141+
142+
clean::
143+
(rm -rf HTML.manifest*.html*.htm*.1*.l man1 manl manpage*)
144+
145+
distclean::
146+
$(MAKE) clean
147+
148+
#
149+
# Generic production rules
150+
#
151+
152+
%.1:%-ref.sgml
153+
nsgmls$(NSGMLS_FLAGS) refentry.sgml$<\
154+
| sgmlspl$(D2MSCRIPT) --lowercase --blockformat --section 1
155+
156+
%.1:%.sgml
157+
nsgmls$(NSGMLS_FLAGS) refentry.sgml$<\
158+
| sgmlspl$(D2MSCRIPT) --lowercase --blockformat --section 1
159+
160+
%.l:%.sgml
161+
nsgmls$(NSGMLS_FLAGS) refentry.sgml$<\
162+
| sgmlspl$(D2MSCRIPT) --lowercase --blockformat --section l
163+
164+
# HTML
165+
# Include some softlinks to the generic default file names
166+
167+
%.html:%.sgml#$(HDSL)
168+
(rm -rf*.htm)
169+
jade$(DBOPTS)$(HTMLOPTS) -t sgml$<
170+
(ln -sf$*.htm index.html)
171+
(ln -sf$*.htm$*.html)
172+
173+
# RTF to allow minor editing for hardcopy
174+
# This is used for v6.3 docs
175+
176+
%.rtf:%.sgml#$(PDSL)
177+
jade$(DBOPTS)$(PRINTOPTS) -t rtf$<
178+
179+
# TeX and DVI
180+
181+
%.tex:%.sgml#$(PDSL)
182+
jade$(DBOPTS)$(PRINTOPTS) -t tex$<
183+
184+
%.dvi:%.tex
185+
jadetex$<
186+
jadetex$<
187+
188+
# Postscript from TeX
189+
190+
%.ps:%.dvi
191+
dvips -o$@$<
192+
193+
# Graphics
194+
195+
%.gif:
196+
cp -p ../graphics/$@.
197+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp