|
31 | 31 | # started to update the file.
|
32 | 32 | .DELETE_ON_ERROR:
|
33 | 33 |
|
| 34 | +# Never delete any intermediate files automatically. |
| 35 | +.SECONDARY: |
| 36 | + |
34 | 37 | # PostgreSQL version number
|
35 | 38 | VERSION = @PACKAGE_VERSION@
|
36 | 39 | MAJORVERSION = @PG_MAJORVERSION@
|
@@ -329,8 +332,6 @@ GENHTML = @GENHTML@
|
329 | 332 | ifeq ($(enable_coverage),yes)
|
330 | 333 | # ccache loses .gcno files
|
331 | 334 | exportCCACHE_DISABLE = 1
|
332 |
| -# preserve intermediate .c files for genhtml |
333 |
| -.PRECIOUS:%.c |
334 | 335 | endif
|
335 | 336 |
|
336 | 337 | # Feature settings
|
@@ -685,17 +686,6 @@ clean distclean maintainer-clean: clean-deps
|
685 | 686 | clean-deps:
|
686 | 687 | @rm -rf$(DEPDIR)
|
687 | 688 |
|
688 |
| -# When in automatic dependency mode, never delete any intermediate |
689 |
| -# files automatically. Otherwise, the following could happen: When |
690 |
| -# starting from a clean source tree, the first build would delete the |
691 |
| -# intermediate file, but also create the dependency file, which |
692 |
| -# mentions the intermediate file, thus making it non-intermediate. |
693 |
| -# The second build will then need to rebuild the now non-intermediate |
694 |
| -# missing file. So the second build will do work even though nothing |
695 |
| -# had changed. One place where this happens is the .c -> .o -> .so |
696 |
| -# chain for some contrib modules. |
697 |
| -.SECONDARY: |
698 |
| - |
699 | 689 | endif# autodepend
|
700 | 690 |
|
701 | 691 |
|
|