fedora:
@make -f $(DIR)/Makefile.fedora
+postgres-server-debian-wheezy:
+ @make -f $(DIR)/Makefile.debian-wheezy install_postgres_server
+postgres-server-debian-squeeze:
+ @make -f $(DIR)/Makefile.debian-squeeze install_postgres_server
+postgres-server-ubuntu-lucid:
+ @make -f $(DIR)/Makefile.ubuntu-lucid install_postgres_server
+postgres-server-ubuntu-precise:
+ @make -f $(DIR)/Makefile.ubuntu-precise install_postgres_server
+postgres-server-fedora:
+ @make -f $(DIR)/Makefile.fedora install_postgres_server
+
# vim:noet:sw=4:ts=4:
DIR = $(dir $(lastword $(MAKEFILE_LIST)))
APT_BACKPORT_TOOL = aptitude -t squeeze-backports -yq
APT_SAFE_TOOL = aptitude -P
+APT_TOOL=aptitude -yq
export DEBS = \
apache2-prefork-dev\
libpq-dev \
postgresql-client-9.1
-all:
+all: install_pgsql_client_backport_debs_91
make -f $(DIR)/Makefile.debian install_debs
make -f $(DIR)/Makefile.debian test_for_libdbi_pkg
make -f $(DIR)/Makefile.common install_net_z3950_simpleserver
make -f $(DIR)/Makefile.debian install_js_sm
make -f $(DIR)/Makefile.debian debian_sys_config
-install_pgsql_server_backport_debs_91:
+install_postgres_server:
$(APT_BACKPORT_TOOL) install $(PGSQL_SERVER_DEBS_91)
install_pgsql_client_backport_debs_91:
on the machine of your choice using the following commands as the *root*
Linux account:
-.(Debian and Ubuntu Lucid) Installing PostgreSQL 9.1 server packages
-[source, bash]
-------------------------------------------------------------------------------
-make -f Open-ILS/src/extras/Makefile.install install_pgsql_server_backport_debs_91
-------------------------------------------------------------------------------
+.(Debian / Ubuntu / Fedora) Installing PostgreSQL server packages
+
+Each OS build target provides the postgres server installation packages
+required for each operating system. To install Postgres server packages,
+use the make target 'postgres-server-<OSTYPE>'. Choose the most appropriate
+command below based on your operating system.
-.(Ubuntu Precise) Installing PostgreSQL 9.1 server packages
[source, bash]
------------------------------------------------------------------------------
-make -f Open-ILS/src/extras/Makefile.install install_pgsql_server_debs_91
+make -f Open-ILS/src/extras/Makefile.install postgres-server-debian-wheezy
+make -f Open-ILS/src/extras/Makefile.install postgres-server-debian-squeeze
+make -f Open-ILS/src/extras/Makefile.install postgres-server-ubuntu-lucid
+make -f Open-ILS/src/extras/Makefile.install postgres-server-ubuntu-precise
+make -f Open-ILS/src/extras/Makefile.install postgres-server-fedora
------------------------------------------------------------------------------
-You can install the packages required by Fedora on the machine of your choice
-using the following commands as the *root* Linux account:
+.(Fedora) Postgres initialization
+
+Installing Postgres on Fedora requires one additional step.
-.(Fedora) Installing PostgreSQL server packages
[source, bash]
------------------------------------------------------------------------------
-make -f Open-ILS/src/extras/Makefile.install install_fedora_pgsql_server
postgresql-setup initdb
------------------------------------------------------------------------------