forked from vim-perl/vim-perl
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
31 lines (27 loc) · 853 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
default:
@echo There is no default target.
dirs:
mkdir -p ~/.vim/ftplugin
mkdir -p ~/.vim/indent
mkdir -p ~/.vim/syntax
install: dirs
cp ftplugin/perl.vim ~/.vim/ftplugin
cp ftplugin/perl6.vim ~/.vim/ftplugin
cp indent/perl.vim ~/.vim/indent
cp indent/perl6.vim ~/.vim/indent
cp syntax/perl.vim ~/.vim/syntax
cp syntax/perl6.vim ~/.vim/syntax
cp syntax/pod.vim ~/.vim/syntax
symlinks: dirs
ln -sf $(PWD)/ftplugin/perl.vim ~/.vim/ftplugin
ln -sf $(PWD)/ftplugin/perl6.vim ~/.vim/ftplugin
ln -sf $(PWD)/indent/perl.vim ~/.vim/indent
ln -sf $(PWD)/indent/perl6.vim ~/.vim/indent
ln -sf $(PWD)/syntax/perl.vim ~/.vim/syntax
ln -sf $(PWD)/syntax/perl6.vim ~/.vim/syntax
ln -sf $(PWD)/syntax/pod.vim ~/.vim/syntax
tarball: dirs
tar czvf vim-perl.tar.gz \
ftplugin/*.vim \
indent/*.vim \
syntax/*.vim