aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-02-06 18:22:26 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-02-06 18:22:26 +0000
commit4b935f808bc7f6b29c6e272b73a8af0e4738e303 (patch)
tree4a0cb01584cf8ec78afe198e5426108f34664681 /Makefile
parentb46115bd2507909541d804073b34c8107d3b1290 (diff)
Détection plus souple et message un peu moins radical en cas de
fichiers emacs ouverts au moment de la création des dépendances git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10519 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4dfc5062d..0da3ac091 100644
--- a/Makefile
+++ b/Makefile
@@ -78,9 +78,9 @@ define stage-template
endef
endif
-UNSAVED_FILES:=$(shell find . -name '.\#*')
+UNSAVED_FILES:=$(shell find . -name '.\#*v' -o -name '.\#*.ml' -o -name '.\#*.mli' -o -name '.\#*.ml4')
ifdef UNSAVED_FILES
-$(error You have unsaved changes in your editor (emacs?); cancel them or save before proceeding. \
+$(error You have unsaved changes in your editor (emacs?) [$(UNSAVED_FILES)]; cancel them or save before proceeding. \
Or your editor crashed. Then, you may want to consider whether you want to restore the autosaves)
#If you try to simply remove this explicit test, the compilation may
#fail later. In particular, if a .#*.v file exists, coqdep fails to