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

Commit3a9cc02

Browse files
author
Michael Paquier
committed
Update README with new instructions to use source code
This has been forgotten04834e7 that added a dependency to the Postgressource tree when building.
1 parent2882954 commit3a9cc02

File tree

1 file changed

+8
-20
lines changed

1 file changed

+8
-20
lines changed

‎README

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,11 @@ https://github.com/michaelpq/pg_arman.
1919
Installation
2020
------------
2121

22-
Compiling pg_arman requires a PostgreSQL installation and can be done in
23-
two ways:
22+
Compiling pg_arman requires a PostgreSQL installation to be in place
23+
as well as a raw source tree. Pass the path to the PostgreSQL source tree
24+
to make, in the top_srcdir variable:
2425

25-
1. Put pg_arman project directory inside PostgreSQL source tree as
26-
contrib/pg_arman, and use this command for compilation:
27-
28-
$ cd $POSTGRES_SOURCE/contrib/pg_arman
29-
$ make
30-
31-
2. Keep the project directory as-is and use the PGXS development
32-
infrastructure provided by a PostgreSQL installation to perform the
33-
compilation:
34-
35-
$ make USE_PGXS=1
26+
make USE_PGXS=1 top_srcdir=<path to PostgreSQL source tree>
3627

3728
In addition, you must have pg_config in $PATH.
3829

@@ -55,7 +46,8 @@ In order to generate the documentation, the variables XMLTO and ASCIIDOC
5546
need to be set to proper values indicating where are located the binaries
5647
of respectively xmlto and asciidoc. An example of build is as follows:
5748

58-
$ make USE_PGXS=1 ASCIIDOC=asciidoc XMLTO=xmlto
49+
make top_srcdir=<path to PostgreSQL source tree> \
50+
ASCIIDOC=asciidoc XMLTO=xmlto
5951

6052
They could as well be set as environment variables for development
6153
purposes.
@@ -64,19 +56,15 @@ On OSX, it is necessary to set XML_CATALOG_FILES to point to the correct
6456
xml catalogs. In the case of an environment with Homebrew after having
6557
install xmlto and asciidoc:
6658

67-
$ export XML_CATALOG_FILES="/usr/local/etc/xml/catalog"
59+
export XML_CATALOG_FILES="/usr/local/etc/xml/catalog"
6860

6961
Regression tests
7062
----------------
7163

7264
The test suite of pg_arman is available in the code tree and can be
7365
launched in a way similar to common PostgreSQL extensions and modules:
7466

75-
1) "make check" or "make installcheck" if the project directory is
76-
located in PostgreSQL code tree.
77-
78-
2) "make installcheck" on an already installed server if project
79-
directory is kept as-is.
67+
make installcheck
8068

8169
License
8270
-------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp