diff options
author | Guillaume Melquiond <guillaume.melquiond@inria.fr> | 2014-10-24 18:37:10 +0200 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@inria.fr> | 2014-10-24 18:37:59 +0200 |
commit | 9973cd2ca529076388710e90f2c46180581397cf (patch) | |
tree | a057addf5e8873d5b8804969a62a07e47bbdd66c | |
parent | 604621edc81f1c439af5c36ee31c6977c6c3f9f0 (diff) |
Install index_urls.txt in a location where coqide might actually find it.
-rw-r--r-- | Makefile.doc | 5 | ||||
-rw-r--r-- | ide/ideutils.ml | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/Makefile.doc b/Makefile.doc index 6dc27e138..59382b9de 100644 --- a/Makefile.doc +++ b/Makefile.doc @@ -328,9 +328,8 @@ install-doc-printable: $(INSTALLLIB) doc/faq/FAQ.v.ps $(FULLDOCDIR)/ps/FAQ.ps install-doc-index-urls: - $(MKDIR) $(FULLDOCDIR)/ps $(FULLDOCDIR)/pdf - $(INSTALLLIB) $(INDEXURLS) \ - $(FULLDOCDIR)/html/refman + $(MKDIR) $(FULLDATADIR) + $(INSTALLLIB) $(INDEXURLS) $(FULLDATADIR) # For emacs: # Local Variables: diff --git a/ide/ideutils.ml b/ide/ideutils.ml index 945e425c6..006b41cc4 100644 --- a/ide/ideutils.ml +++ b/ide/ideutils.ml @@ -385,7 +385,7 @@ let url_for_keyword = let cin = try let index_urls = Filename.concat (List.find (fun x -> Sys.file_exists (Filename.concat x "index_urls.txt")) - (Minilib.coqide_config_dirs ())) "index_urls.txt" in + (Minilib.coqide_data_dirs ())) "index_urls.txt" in open_in index_urls with Not_found -> let doc_url = doc_url () in |