summaryrefslogtreecommitdiff
path: root/src/OS/Makefile-Base
diff options
context:
space:
mode:
Diffstat (limited to 'src/OS/Makefile-Base')
-rw-r--r--src/OS/Makefile-Base7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/OS/Makefile-Base b/src/OS/Makefile-Base
index b66678bee..9eed7b0b9 100644
--- a/src/OS/Makefile-Base
+++ b/src/OS/Makefile-Base
@@ -662,11 +662,14 @@ PHDRS = ../config.h \
.c.o:; @echo "$(CC) $*.c"
$(FE)$(CC) -c $(CFLAGS) -I. $(INCLUDE) $(IPV6_INCLUDE) $(TLS_INCLUDE) $*.c
-# Update Exim's version information and build the version object.
+# Update Exim's version information and build the version object. The dependency
+# chain here avoids problems under parallel-make.
-version.h version.sh::
+version.sh:
@../scripts/reversion
+version.h: version.sh
+
cnumber.h: version.h
version.o: $(HDRS) cnumber.h version.h version.c