]> granicus.if.org Git - postgresql/blobdiff - GNUmakefile.in
Fix rounding problem in dynahash.c's decision about when the target
[postgresql] / GNUmakefile.in
index 70151c03246eff938e0fa6570154ca13dcc6a37a..581628f77e916f3e9109c07f529fa2a50c8843c6 100644 (file)
@@ -1,7 +1,7 @@
 #
 # PostgreSQL top level makefile
 #
-# $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.25 2002/08/22 00:15:04 scrappy Exp $
+# $PostgreSQL: pgsql/GNUmakefile.in,v 1.41 2004/10/06 08:49:58 momjian Exp $
 #
 
 subdir =
@@ -11,19 +11,19 @@ include $(top_builddir)/src/Makefile.global
 all:
        $(MAKE) -C doc all
        $(MAKE) -C src all
+       $(MAKE) -C config 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 distprep:
        $(MAKE) -C doc $@
        $(MAKE) -C src $@
+       $(MAKE) -C config $@
+       @echo "PostgreSQL installation complete."
 
-install-all-headers:
+installdirs uninstall distprep:
+       $(MAKE) -C doc $@
        $(MAKE) -C src $@
+       $(MAKE) -C config $@
 
 # clean, distclean, etc should apply to contrib too, even though
 # it's not built by default
@@ -31,6 +31,7 @@ clean:
        $(MAKE) -C doc $@
        $(MAKE) -C contrib $@
        $(MAKE) -C src $@
+       $(MAKE) -C config $@
 # Garbage from autoconf:
        @rm -rf autom4te.cache/
 
@@ -39,6 +40,7 @@ clean:
 distclean maintainer-clean:
        -$(MAKE) -C doc $@
        -$(MAKE) -C contrib $@
+       -$(MAKE) -C config $@
        -$(MAKE) -C src $@
        -rm -f config.cache config.log config.status GNUmakefile
 # Garbage from autoconf:
@@ -59,9 +61,9 @@ distdir       := postgresql-$(VERSION)
 dummy  := =install=
 garbage := =*  "#"*  ."#"*  *~*  *.orig  *.rej  core  postgresql-*
 
-dist: $(distdir).tar.gz
+dist: $(distdir).tar.gz 
 ifeq ($(split-dist), yes)
-dist: postgresql-base-$(VERSION).tar.gz postgresql-docs-$(VERSION).tar.gz postgresql-opt-$(VERSION).tar.gz postgresql-test-$(VERSION).tar.gz
+dist: postgresql-base-$(VERSION).tar.gz postgresql-docs-$(VERSION).tar.gz postgresql-opt-$(VERSION).tar.gz postgresql-test-$(VERSION).tar.gz 
 endif
 dist:
        -rm -rf $(distdir)
@@ -69,11 +71,9 @@ dist:
 $(distdir).tar: distdir
        $(TAR) chf $@ $(distdir)
 
-opt_files := src/backend/utils/mb contrib/retep/build.xml \
-       src/tools src/corba src/data src/tutorial \
-       $(addprefix src/bin/, pgaccess pgtclsh pg_encoding) \
-       $(addprefix src/interfaces/, odbc libpgtcl perl5 python jdbc) \
-       $(addprefix src/pl/, plperl tcl)
+opt_files := \
+       src/tools src/corba src/tutorial \
+       $(addprefix src/pl/, plperl plpython tcl)
 
 docs_files := doc/postgres.tar.gz doc/src doc/TODO.detail
 
@@ -103,6 +103,7 @@ distdir:
        done
        $(MAKE) -C $(distdir) distprep
        $(MAKE) -C $(distdir) distclean
+       rm -f $(distdir)/README.CVS
 
 distcheck: $(distdir).tar.gz
        -rm -rf $(dummy)