Merge pull request #3020 from overleaf/jpa-harden-copying-of-makefiles

[misc] make: harden parallel copying of the Makefile.module

GitOrigin-RevId: 2612516ebf1e33022233ad19741e5c7cda014483
This commit is contained in:
Jakob Ackermann 2020-07-24 10:55:22 +02:00 committed by Copybot
parent 023f1c254f
commit 35d64a1fba

View file

@ -17,7 +17,7 @@ MODULE_MAKEFILES := $(MODULE_DIRS:=/Makefile)
MODULE_NAME=$(shell basename $(MODULE))
$(MODULE_MAKEFILES): Makefile.module
cp Makefile.module $@
cp Makefile.module $@ || diff Makefile.module $@
#
# Clean