aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2022-03-22 17:14:08 +0000
committerYann Herklotz <git@yannherklotz.com>2022-03-22 17:14:08 +0000
commit79ebc1c11ac3daccbc13b56043bdc89b14b23c60 (patch)
tree59b3780a16d80f6054ef33e33692d6f1a9b8ef89 /Makefile
parent2d647ce5fdf5343a7d9961a63d66b5191706aeaf (diff)
downloadvericert-79ebc1c11ac3daccbc13b56043bdc89b14b23c60.tar.gz
vericert-79ebc1c11ac3daccbc13b56043bdc89b14b23c60.zip
Add literate Coq file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5e1ae44..3ff20a6 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ COQMAKE := $(COQBIN)coq_makefile
COQDOCFLAGS := --no-lib-name -l
-VS := src/Compiler.v src/Simulator.v src/HLSOpts.v $(foreach d, common hls bourdoncle, src/$(d)/*.v)
+VS := src/Compiler.v src/Simulator.v src/HLSOpts.v $(foreach d, common hls bourdoncle, $(wildcard src/$(d)/*.v))
LIT := $(wildcard lit/*.org)
PREFIX ?= .
@@ -87,7 +87,7 @@ clean:: Makefile.coq
rm -f Makefile.coq
detangle-all:
- $(foreach vs,$(VS),emacs --batch --find-file $(vs) --eval "(progn(require 'org)(require 'ob-tangle)(org-babel-detangle))")
+ emacs --batch --eval "(progn(require 'org)(require 'ob-tangle)$(foreach vs,$(VS),(org-babel-detangle \"$(vs)\")))"
clean::
rm -f */*.v.d */*.glob */*.vo */*~ *~