aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-01-07 19:37:53 -0500
committerGravatar Jason Gross <jgross@mit.edu>2017-01-07 19:37:53 -0500
commit06e521e61835022bb8fc2368fc190cb31a077687 (patch)
tree6a87a02334ea24d388ad96def769aebfff9dff09 /Makefile
parentde3346f052111a23ada2687af7a8b52150faec4a (diff)
Kludge to get a Windows-valid .dir-locals.el
Pass in PATHSEP=";" to `make .dir-locals.el`. Hopefully I'll find a better way soon.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 58b0614cb..20ae25d12 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,8 @@ VERBOSE?=
SHOW := $(if $(VERBOSE),@true "",@echo "")
HIDE := $(if $(VERBOSE),,@)
+PATHSEP?=:
+
.PHONY: coq clean update-_CoqProject cleanall install \
install-coqprime clean-coqprime coqprime \
specific non-specific \
@@ -130,4 +132,4 @@ printenv::
@echo "COQPATH = $$COQPATH"
.dir-locals.el::
- sed 's:@COQPRIME@:$(COQPRIME_FOLDER):g' .dir-locals.el.in > $@
+ sed 's:@COQPRIME@:$(COQPRIME_FOLDER):g' .dir-locals.el.in | sed s'/@PATHSEP@/$(PATHSEP)/g' > $@