661ecf3c48
Included are patches intended for allowing PostgreSQL to handle multi-byte charachter sets such as EUC(Extende Unix Code), Unicode and Mule internal code. With the MB patch you can use multi-byte character sets in regexp and LIKE. The encoding system chosen is determined at the compile time. To enable the MB extension, you need to define a variable "MB" in Makefile.global or in Makefile.custom. For further information please take a look at README.mb under doc directory. (Note that unlike "jp patch" I do not use modified GNU regexp any more. I changed Henry Spencer's regexp coming with PostgreSQL.)
72 lines
1.6 KiB
Makefile
72 lines
1.6 KiB
Makefile
#----------------------------------------------------------------------------
|
|
#
|
|
# Makefile
|
|
# Postgres documentation installation makefile
|
|
# Thomas Lockhart
|
|
#
|
|
# Copyright (c) 1994, Regents of the University of California
|
|
#
|
|
#
|
|
# IDENTIFICATION
|
|
# $Header: /cvsroot/pgsql/doc/Makefile,v 1.5 1998/03/15 07:37:51 scrappy Exp $
|
|
#
|
|
#----------------------------------------------------------------------------
|
|
|
|
PGDOCS= /usr/local/cdrom/docs
|
|
SRCDIR= ../src
|
|
|
|
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
|
|
|
|
MODULES= admin postgres programmer tutorial user
|
|
TARGETS= $(MODULES:%=%.html)
|
|
|
|
.PRECIOUS: postgres.tex postgres.dvi
|
|
.PHONY: install all clean distclean
|
|
|
|
install::
|
|
$(MAKE) all
|
|
|
|
all:: $(MODULES)
|
|
|
|
clean::
|
|
rm -rf $(MODULES)
|
|
|
|
distclean::
|
|
$(MAKE) clean
|
|
|
|
#
|
|
# Generic production rules
|
|
#
|
|
|
|
# Unpack tar file
|
|
# Put into area pointed to by $(PGDOCS).
|
|
## Make a local file to keep track of dependencies,
|
|
## if $(PGDOCS) points somewhere else.
|
|
## Disable this for now - thomas 1998-03-01
|
|
# Remove the contents of the target directory
|
|
# to replace symlinks - thomas 1998-03-01
|
|
|
|
%: %.tar.gz
|
|
rm -rf ./$@ $(PGDOCS)/$*
|
|
if test ! -d $(PGDOCS)/$* ; then mkdir $(PGDOCS)/$* ; fi
|
|
$(TAR) zxf $< -C $(PGDOCS)/$*
|
|
# touch ./$*
|
|
|