mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
44eaafe3f8
documentation. Therefore it's now installed by default. If there is no documentation to be found (i.e., you are not using the distribution) then this step is skipped. Add --docdir option to configure to control installation directory.
54 lines
1.4 KiB
Makefile
54 lines
1.4 KiB
Makefile
#
|
|
# PostgreSQL top level makefile
|
|
#
|
|
# $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.8 2000/07/17 22:31:56 petere Exp $
|
|
#
|
|
|
|
subdir =
|
|
top_builddir = .
|
|
include src/Makefile.global
|
|
|
|
all:
|
|
$(MAKE) -C doc all
|
|
$(MAKE) -C src all
|
|
@echo "All of PostgreSQL successfully made. Ready to install."
|
|
|
|
install:
|
|
$(MAKE) -C doc install
|
|
$(MAKE) -C src install
|
|
@cat $(srcdir)/register.txt
|
|
|
|
installdirs uninstall clean:
|
|
$(MAKE) -C doc $@
|
|
$(MAKE) -C src $@
|
|
|
|
# Important: distclean `doc' before `src', otherwise Makefile.global
|
|
# will be gone too soon.
|
|
distclean maintainer-clean:
|
|
-$(MAKE) -C doc $@
|
|
-$(MAKE) -C src $@
|
|
-rm -f config.cache config.log config.status GNUmakefile
|
|
|
|
|
|
GNUmakefile: GNUmakefile.in $(top_builddir)/config.status
|
|
CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
|
|
|
|
|
|
# These dependencies are risky because both the target and the sources
|
|
# are in CVS and CVS doesn't preserve timestamps, thus leading to
|
|
# unnecessary reruns of these rules.
|
|
|
|
AUTOCONF = autoconf
|
|
|
|
# Only use this rule if you actually said `make configure'.
|
|
ifeq ($(MAKECMDGOALS),configure)
|
|
$(top_srcdir)/configure: $(top_srcdir)/configure.in $(top_srcdir)/aclocal.m4
|
|
cd $(top_srcdir) && $(AUTOCONF)
|
|
endif
|
|
|
|
# This one we can leave unprotected because by default nothing depends
|
|
# on aclocal.m4. This rule is only invoked if you say `make
|
|
# aclocal.m4' or `make configure'.
|
|
$(top_srcdir)/aclocal.m4: $(wildcard $(top_srcdir)/config/*.m4)
|
|
cat $^ > $@
|