]> git.eshelyaron.com Git - emacs.git/commitdiff
(paths-force): Depend on src/paths.h
authorRichard M. Stallman <rms@gnu.org>
Tue, 20 Sep 1994 22:16:26 +0000 (22:16 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 20 Sep 1994 22:16:26 +0000 (22:16 +0000)
Makefile.in

index 7ecd8985be8b3626e169e83e92c11926308aa5c5..71e2a0a050344f1d2a28aedc0363289550b209bc 100644 (file)
@@ -219,7 +219,10 @@ src/paths.h: Makefile ${srcdir}/src/paths.h.in
 # something notable, so the only unnecessary work we do is in building
 # paths.h.tmp$$$$, which isn't much.
 # Note that sed is not in /bin on 386bsd.
-paths-force: FRC
+# We depend on src/paths.h here to prevent simultaneous execution of
+# that rule and this one, in a parallel make.
+# It is possible for paths.h to be updated twice--but that would happen anyway.
+paths-force: FRC src/paths.h
        @echo "Producing \`src/paths.h' from \`src/paths.h.in'."
        @(lisppath=`echo ${lisppath} | ${removenullpaths}` ;            \
          buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ;  \