diff options
| author | Robert Norton | 2019-11-14 17:01:57 +0000 |
|---|---|---|
| committer | Robert Norton | 2019-11-14 17:01:57 +0000 |
| commit | 9dfad153b1305fa14b070a80104bc2cc7f2a974a (patch) | |
| tree | f6784beef56d550c03ad900acf01d2d5bf81454b /lib | |
| parent | 7a05ffbafa6bc512c914b8c6d905f3cad4b0d422 (diff) | |
Perform isabelle check only when heap-img rule is used to avoid calling opam (which might not be present).
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/isabelle/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/isabelle/Makefile b/lib/isabelle/Makefile index 465b4c36..884159fb 100644 --- a/lib/isabelle/Makefile +++ b/lib/isabelle/Makefile @@ -18,10 +18,10 @@ all: thys thys: $(THYS) heap-img: thys $(EXTRA_THYS) ROOT -ifeq ($(wildcard $(LEM_ISA_LIB)/ROOT),) - $(error isabelle-lib directory of Lem not found. Please set the LEM_ISA_LIB environment variable) -endif - isabelle build -b -d $(LEM_ISA_LIB) -D . + if [ -z "$(wildcard $(LEM_ISA_LIB)/ROOT)" ]; \ + then echo isabelle-lib directory of Lem not found. Please set the LEM_ISA_LIB environment variable; false; \ + else isabelle build -b -d $(LEM_ISA_LIB) -D . ; \ + fi manual: heap-img manual/Manual.thy manual/ROOT manual/document/root.tex cp output/document/session_graph.pdf manual/document/Sail_session_graph.pdf |
