3 files changed
+11
-3
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
| 66 | + | |
66 | 67 |
| |
67 | 68 |
| |
68 | 69 |
| |
69 | 70 |
| |
| 71 | + | |
70 | 72 |
| |
71 | 73 |
| |
72 | 74 |
| |
|
Lines changed: 8 additions & 2 deletions
@@ -19,7 +19,7 @@
19
19
#
20
20
# Meta configuration
21
21
22
-standard_targets = all install installdirs uninstall distprep clean distclean maintainer-clean coverage check installcheck init-po update-po
22
+standard_targets = all install installdirs uninstall distprep clean distclean maintainer-clean coverage check checkprep installcheck init-po update-po
23
23
# these targets should recurse even into subdirectories not being built:
24
24
standard_always_targets = distprep clean distclean maintainer-clean
25
25
@@ -390,11 +390,17 @@ ifeq ($(MAKELEVEL),0)
390
390
rm -rf '$(abs_top_builddir)'/tmp_install
391
391
$(MKDIR_P) '$(abs_top_builddir)'/tmp_install/log
392
392
$(MAKE) -C '$(top_builddir)' DESTDIR='$(abs_top_builddir)'/tmp_install install >'$(abs_top_builddir)'/tmp_install/log/install.log 2>&1
393
+ $(MAKE) -j1 $(if $(CHECKPREP_TOP),-C $(CHECKPREP_TOP),) checkprep >>'$(abs_top_builddir)'/tmp_install/log/install.log 2>&1
393
394
endif
394
- $(if $(EXTRA_INSTALL),for extra in $(EXTRA_INSTALL); do $(MAKE) -C '$(top_builddir)'/$$extra DESTDIR='$(abs_top_builddir)'/tmp_install install >>'$(abs_top_builddir)'/tmp_install/log/install.log 2>&1 || exit; done)
395
395
endif
396
396
endif
397
397
398
+# Tasks to run serially at the end of temp-install. Some EXTRA_INSTALL
399
+# entries appear more than once in the tree, and parallel installs of the same
400
+# file can fail with EEXIST.
401
+checkprep:
402
+ $(if $(EXTRA_INSTALL),for extra in $(EXTRA_INSTALL); do $(MAKE) -C '$(top_builddir)'/$$extra DESTDIR='$(abs_top_builddir)'/tmp_install install || exit; done)
403
+
398
404
PROVE = @PROVE@
399
405
# There are common routines in src/test/perl, and some test suites have
400
406
# extra perl modules in their own directory.
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
407 | 407 |
| |
408 | 408 |
| |
409 | 409 |
| |
410 |
| - | |
| 410 | + | |
411 | 411 |
| |
412 | 412 |
| |
413 | 413 |
| |
|
0 commit comments