forked from rkitover/perl-vim-mxd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
55 lines (48 loc) · 1.34 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
PREFIX?=$(HOME)/.vim
FTPLUGIN=$(PREFIX)/ftplugin
INDENT=$(PREFIX)/indent
SYNTAX=$(PREFIX)/syntax
default:
@echo There is no default target.
@echo Some handle targets: test, install
dirs:
mkdir -p $(FTPLUGIN) $(INDENT) $(SYNTAX)
install: dirs
cp ftplugin/perl.vim $(FTPLUGIN)
cp ftplugin/perl6.vim $(FTPLUGIN)
cp ftplugin/xs.vim $(FTPLUGIN)
cp indent/perl.vim $(INDENT)
cp indent/perl6.vim $(INDENT)
cp syntax/perl.vim $(SYNTAX)
cp syntax/perl6.vim $(SYNTAX)
cp syntax/pod.vim $(SYNTAX)
cp syntax/tt2.vim $(SYNTAX)
cp syntax/tt2html.vim $(SYNTAX)
cp syntax/xs.vim $(SYNTAX)
symlinks: dirs
ln -sf $(PWD)/ftplugin/perl.vim $(FTPLUGIN)
ln -sf $(PWD)/ftplugin/perl6.vim $(FTPLUGIN)
ln -sf $(PWD)/ftplugin/xs.vim $(FTPLUGIN)
ln -sf $(PWD)/indent/perl.vim $(INDENT)
ln -sf $(PWD)/indent/perl6.vim $(INDENT)
ln -sf $(PWD)/syntax/perl.vim $(SYNTAX)
ln -sf $(PWD)/syntax/perl6.vim $(SYNTAX)
ln -sf $(PWD)/syntax/pod.vim $(SYNTAX)
ln -sf $(PWD)/syntax/tt2.vim $(SYNTAX)
ln -sf $(PWD)/syntax/tt2html.vim $(SYNTAX)
ln -sf $(PWD)/syntax/xs.vim $(SYNTAX)
tarball:
tar czvf vim-perl.tar.gz \
ftplugin/perl.vim \
ftplugin/perl6.vim \
ftplugin/xs.vim \
\
indent/perl.vim \
indent/perl6.vim \
\
syntax/perl.vim \
syntax/perl6.vim \
syntax/pod.vim \
syntax/xs.vim \
test:
prove -rv t