diff options
| author | Peter Eisentraut | 2009-01-22 22:27:13 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2009-01-22 22:27:13 +0000 |
| commit | 9c4b69ed5cd275953e49f4520398801797f144c3 (patch) | |
| tree | 08a56db793ee54b6e8cba9ff756cab2c2ae08938 /src/Makefile.global.in | |
| parent | 3cb5d6580a335e0b7fcf25da7fcebee3a776edb4 (diff) | |
Recreate ecpg_config.h with a stamp file created by config.status, same
way pg_config.h is handled. This avoids reruns of config.status on every
build, if configure has been rerun.
Diffstat (limited to 'src/Makefile.global.in')
| -rw-r--r-- | src/Makefile.global.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in index 343f215b03f..10325498f95 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -1,5 +1,5 @@ # -*-makefile-*- -# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.251 2009/01/05 10:25:59 petere Exp $ +# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.252 2009/01/22 22:27:13 petere Exp $ #------------------------------------------------------------------------------ # All PostgreSQL makefiles include this file and use the variables it sets, @@ -498,9 +498,11 @@ $(top_builddir)/src/include/pg_config.h: $(top_builddir)/src/include/stamp-h $(top_builddir)/src/include/stamp-h: $(top_srcdir)/src/include/pg_config.h.in $(top_builddir)/config.status cd $(top_builddir) && ./config.status src/include/pg_config.h -# Also remake ecpg_config.h from ecpg_config.h.in if the latter changed. Values in it can -# only change if pg_config.h has changed, so include this file to its dependencies. -$(top_builddir)/src/interfaces/ecpg/include/ecpg_config.h: $(top_builddir)/src/include/pg_config.h $(top_builddir)/src/interfaces/ecpg/include/ecpg_config.h.in $(top_builddir)/config.status +# Also remake ecpg_config.h from ecpg_config.h.in if the latter changed, same +# logic as above. +$(top_builddir)/src/interfaces/ecpg/include/ecpg_config.h: $(top_builddir)/src/interfaces/ecpg/include/stamp-h + + $(top_builddir)/src/interfaces/ecpg/include/stamp-h: $(top_builddir)/src/interfaces/ecpg/include/ecpg_config.h.in $(top_builddir)/config.status cd $(top_builddir) && ./config.status src/interfaces/ecpg/include/ecpg_config.h # When configure changes, rerun configure with the same options as |
