From e330f4711c1c7d76fc5467f144330ffb9e56b0ee Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Sun, 7 Oct 2012 21:32:12 +0200 Subject: [PATCH] Fix tangling --- src/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index df019ae4..6c8d03b9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -104,7 +104,10 @@ DISTCHECK_CONFIGURE_FLAGS = \ include $(top_srcdir)/am/global-rules BUILT_SOURCES = timestepping.hh timestepping.cc -$(srcdir)/timestepping.cc $(srcdir)/timestepping.hh: $(srcdir)/timestepping.org +# Make sure the two are not built in parallel +$(srcdir)/timestepping.cc: $(srcdir)/timestepping.hh + +$(srcdir)/timestepping.hh: $(srcdir)/timestepping.org emacs -Q --batch --eval \ "(let (vc-handled-backends) \ (org-babel-tangle-file \"$<\" nil 'c++))" -- GitLab