Skip to content
Snippets Groups Projects
Commit 64dd66eb authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Add a variable for emacs

parent 731e38a4
No related branches found
No related tags found
No related merge requests found
...@@ -107,12 +107,14 @@ BUILT_SOURCES = timestepping.hh timestepping.cc ...@@ -107,12 +107,14 @@ BUILT_SOURCES = timestepping.hh timestepping.cc
# Make sure the two are not built in parallel # Make sure the two are not built in parallel
$(srcdir)/timestepping.cc: $(srcdir)/timestepping.hh $(srcdir)/timestepping.cc: $(srcdir)/timestepping.hh
EMACS ?= emacs
$(srcdir)/timestepping.hh: $(srcdir)/timestepping.org $(srcdir)/timestepping.hh: $(srcdir)/timestepping.org
emacs -Q --batch --eval \ $(EMACS) -Q --batch --eval \
"(let (vc-handled-backends) \ "(let (vc-handled-backends) \
(org-babel-tangle-file \"$<\" nil 'c++))" (org-babel-tangle-file \"$<\" nil 'c++))"
$(srcdir)/one-body-sample.cc: $(srcdir)/one-body-sample.org $(srcdir)/one-body-sample.cc: $(srcdir)/one-body-sample.org
emacs -Q --batch --eval \ $(EMACS) -Q --batch --eval \
"(let (vc-handled-backends) \ "(let (vc-handled-backends) \
(org-babel-tangle-file \"$<\" nil 'c++))" (org-babel-tangle-file \"$<\" nil 'c++))"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment