|
1 | 1 | # -*-makefile-*- |
2 | | -# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.115 2000/12/16 13:03:25 petere Exp $ |
| 2 | +# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.116 2000/12/29 20:39:06 tgl Exp $ |
3 | 3 |
|
4 | 4 | #------------------------------------------------------------------------------ |
5 | 5 | # All PostgreSQL makefiles include this file and use the variables it sets, |
@@ -305,15 +305,17 @@ $(top_builddir)/src/Makefile.global: $(top_srcdir)/src/Makefile.global.in $(top_ |
305 | 305 | # Remake config.h from config.h.in if the latter changed. |
306 | 306 | # config.status will not change the timestamp on config.h if it |
307 | 307 | # doesn't change, so as to avoid recompiling the entire tree |
308 | | -# unnecessarily. Therefore config.status will update a timestamp file |
309 | | -# everytime it runs so that we don't trigger this rule everytime. |
| 308 | +# unnecessarily. Therefore we make config.status update a timestamp file |
| 309 | +# stamp-h everytime it runs, so that we don't trigger this rule everytime. |
| 310 | +# (We do trigger the null rule for stamp-h to config.h everytime; so it's |
| 311 | +# important for that rule to be null!) |
310 | 312 | # |
311 | 313 | # Of course you need to turn on dependency tracking to get any |
312 | | -# dependencies on config.h |
| 314 | +# dependencies on config.h. |
313 | 315 | $(top_builddir)/src/include/config.h: $(top_builddir)/src/include/stamp-h |
| 316 | + |
314 | 317 | $(top_builddir)/src/include/stamp-h: $(top_srcdir)/src/include/config.h.in $(top_builddir)/config.status |
315 | 318 | cd $(top_builddir) && CONFIG_FILES= CONFIG_HEADERS=src/include/config.h ./config.status |
316 | | - echo >$@ |
317 | 319 |
|
318 | 320 | # When configure changes, rerun configure with the same options as |
319 | 321 | # last time. To change configure, you need to run autoconf manually. |
|
0 commit comments