diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2001-09-06 10:49:30 +0000 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2001-09-06 10:49:30 +0000 |
| commit | 17cc78ef01679deae3f0dac1c35ae777c2c73723 (patch) | |
| tree | 57c116d4f29272878495dc748a14cb7249f5dc7c /contrib/Makefile | |
| parent | 22ae53d4cdca7244b0de25f1d28255e1649aa936 (diff) | |
| download | postgresql-17cc78ef01679deae3f0dac1c35ae777c2c73723.tar.gz | |
To fix the perpetually broken makefiles in the contrib tree, I have
written a generic framework of rules that the contrib makefiles can
use instead of writing their own each time. You only need to set a few
variables and off you go.
Diffstat (limited to 'contrib/Makefile')
| -rw-r--r-- | contrib/Makefile | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/contrib/Makefile b/contrib/Makefile index 809d84f98a..8996c0abc2 100644 --- a/contrib/Makefile +++ b/contrib/Makefile @@ -1,4 +1,4 @@ -# $Header: /cvsroot/pgsql/contrib/Makefile,v 1.26 2001/09/04 19:21:42 tgl Exp $ +# $Header: /cvsroot/pgsql/contrib/Makefile,v 1.27 2001/09/06 10:49:29 petere Exp $ subdir = contrib top_builddir = .. @@ -18,8 +18,6 @@ WANTED_DIRS = \ intarray \ isbn_issn \ lo \ - mSQL-interface \ - mac \ miscutil \ noupdate \ oid2name \ @@ -28,7 +26,6 @@ WANTED_DIRS = \ pg_logger \ pg_resetxlog \ pgbench \ - pgcrypto \ rserv \ rtree_gist \ seg \ @@ -36,16 +33,25 @@ WANTED_DIRS = \ string \ tips \ userlock \ - vacuumlo + vacuumlo + +# Missing: +# ipc_check \ (does not have a makefile) +# mSQL-interface \ (requires msql installed) +# mac \ (does not have a makefile) +# mysql \ (does not have a makefile) +# oracle \ (does not have a makefile) +# pgcrypto \ (non-standard makefile) +# start-scripts \ (does not have a makefile) +# tools \ (does not have a makefile) +# xml \ (non-standard makefile) ifeq ($(with_java),yes) WANTED_DIRS += retep endif -all install installdirs uninstall clean distclean maintainer-clean: - for dir in $(WANTED_DIRS); do \ - if [ -f $$dir/Makefile ]; then \ - $(MAKE) -C $$dir $@; \ - fi; \ +all install installdirs uninstall clean distclean maintainer-clean check installcheck: + @for dir in $(WANTED_DIRS); do \ + $(MAKE) -C $$dir $@ || exit; \ done |
