]> granicus.if.org Git - postgresql/blobdiff - GNUmakefile.in
Fix rounding problem in dynahash.c's decision about when the target
[postgresql] / GNUmakefile.in
index 7cc2526c96b699a1e518906be28a478933e44fd0..581628f77e916f3e9109c07f529fa2a50c8843c6 100644 (file)
@@ -1,7 +1,7 @@
 #
 # PostgreSQL top level makefile
 #
-# $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.32 2003/08/05 04:18:51 pgsql 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)
@@ -71,8 +73,6 @@ $(distdir).tar: distdir
 
 opt_files := \
        src/tools src/corba src/tutorial \
-       src/bin/pgtclsh \
-       $(addprefix src/interfaces/, libpgtcl jdbc) \
        $(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)