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

Commite27cafa

Browse files
author
Thomas G. Lockhart
committed
Allow installation of documentation packages.
1 parent13b2557 commite27cafa

File tree

1 file changed

+71
-0
lines changed

1 file changed

+71
-0
lines changed

‎doc/Makefile‎

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
#----------------------------------------------------------------------------
2+
#
3+
# Makefile
4+
#Postgres documentation installation makefile
5+
#Thomas Lockhart
6+
#
7+
# Copyright (c) 1994, Regents of the University of California
8+
#
9+
#
10+
# IDENTIFICATION
11+
# $Header: /cvsroot/pgsql/doc/Makefile,v 1.4 1998/03/01 20:37:44 thomas Exp $
12+
#
13+
#----------------------------------------------------------------------------
14+
15+
PGDOCS= .
16+
SRCDIR= ../src
17+
18+
TAR= tar
19+
20+
# Pick up Makefile.global from the source area
21+
# This is the only resource from the code source area and is optional.
22+
# Actually, we want this to get Makefile.custom - thomas 1998-03-01
23+
24+
ifneq ($(wildcard$(SRCDIR)/Makefile.global), )
25+
include$(SRCDIR)/Makefile.global
26+
endif
27+
28+
# Hmm, made this optional but jade _really_ doesn't like them missing
29+
# - thomas 1998-03-01
30+
ifneq ($(HDSL), )
31+
HTMLOPTS= -d$(HDSL)
32+
endif
33+
ifneq ($(PDSL), )
34+
PRINTOPTS= -d$(PDSL)
35+
endif
36+
37+
MODULES= admin postgres programmer tutorial user
38+
TARGETS=$(MODULES:%=%.html)
39+
40+
.PRECIOUS: postgres.tex postgres.dvi
41+
.PHONY: install all clean distclean
42+
43+
install::
44+
$(MAKE) all
45+
46+
all::$(MODULES)
47+
48+
clean::
49+
rm -rf$(MODULES)
50+
51+
distclean::
52+
$(MAKE) clean
53+
54+
#
55+
# Generic production rules
56+
#
57+
58+
# Unpack tar file
59+
# Put into area pointed to by $(PGDOCS).
60+
## Make a local file to keep track of dependencies,
61+
## if $(PGDOCS) points somewhere else.
62+
## Disable this for now - thomas 1998-03-01
63+
# Remove the contents of the target directory
64+
# to replace symlinks - thomas 1998-03-01
65+
66+
%:%.tar.gz
67+
rm -rf ./$@$(PGDOCS)/$*
68+
iftest! -d$(PGDOCS)/$*;then mkdir$(PGDOCS)/$*;fi
69+
$(TAR) zxf$< -C$(PGDOCS)/$*
70+
#touch ./$*
71+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp