diff options
| author | Emilio Jesus Gallego Arias | 2018-11-14 13:59:13 +0100 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2018-11-14 13:59:13 +0100 |
| commit | 9896b66fabdb1dacafb71887b85facefa91845e7 (patch) | |
| tree | 6a59bf13b746dd76ff03ac83f6105fa18866d04a /tools | |
| parent | 94494770254bec236f2f6fe727ae42b79192afe4 (diff) | |
| parent | ea68d3e92405760a453668c7f471e5c587884d80 (diff) | |
Merge PR #8966: coq_makefile: Fix ocamldep ignoring mlg files
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/CoqMakefile.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/CoqMakefile.in b/tools/CoqMakefile.in index e3fa0c24fe..92cc820483 100644 --- a/tools/CoqMakefile.in +++ b/tools/CoqMakefile.in @@ -719,6 +719,9 @@ endif redir_if_ok = > "$@" || ( RV=$$?; rm -f "$@"; exit $$RV ) +GENMLFILES:=$(MLGFILES:.mlg=.ml) $(ML4FILES:.ml4=.ml) +$(addsuffix .d,$(ALLSRCFILES)): $(GENMLFILES) + $(addsuffix .d,$(MLIFILES)): %.mli.d: %.mli $(SHOW)'CAMLDEP $<' $(HIDE)$(CAMLDEP) $(OCAMLLIBS) "$<" $(redir_if_ok) |
