forked from fsharp/zarchive-vim-fsharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
36 lines (25 loc) · 847 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Directories
bin_d = $(abspath ftplugin/bin)
# Installation paths.
#dest_root = $(HOME)/.vim/bundle/fsharpbinding-vim/
#dest_bin = $(dest_root)/ftplugin/bin/
ac_exe = $(bin_d)/fsautocomplete.exe
ac_archive = fsautocomplete.zip
ac_version = 0.23.0
ac_url = https://github.com/fsharp/FSharp.AutoComplete/releases/download/$(ac_version)/$(ac_archive)
# ----------------------------------------------------------------------------
# Building
fsautocomplete : $(ac_exe)
$(ac_exe) : $(bin_d)
curl -L "$(ac_url)" -o "$(bin_d)/$(ac_archive)"
unzip "$(bin_d)/$(ac_archive)" -d "$(bin_d)"
touch "$(ac_exe)"
~/.config/.mono/certs:
mozroots --import --sync --quiet
$(dest_root) :; mkdir -p $(dest_root)
$(dest_bin) :; mkdir -p $(dest_bin)
$(bin_d) :; mkdir -p $(bin_d)
# Cleaning
clean :
rm -rf $(bin_d)
.PHONY: fsautocomplete