From f33cf2ffecaa4283a3d845db338082714002347c Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Wed, 12 Oct 2011 15:39:09 +0200
Subject: [PATCH] Provide a target octave_modules

---
 src/Makefile.am | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 94090890..0460e198 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -52,8 +52,13 @@ OCTAVE    ?= octave
 
 bin_PROGRAMS =
 
+## Octave
+
+OCTAVE_MODULES= duneminimise.oct duneevaluate.oct
+octave_modules: $(OCTAVE_MODULES)
+
 .PHONY:
-run-octave: duneevaluate.oct duneminimise.oct
+run-octave: octave_modules
 	$(OCTAVE) --path $(abs_builddir) --path $(abs_srcdir)
 
 include $(srcdir)/duneminimise.mk
-- 
GitLab