summaryrefslogtreecommitdiffstats
path: root/misc/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-13 03:01:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-13 03:01:12 +0000
commit58e6677933d504c98dcc3ebf10009dc767a73a37 (patch)
treed4b5a4866e4d8b2874d165f4d7e096328e6326e1 /misc/Makefile
parentc927e68bfd5e070d666642de786a971b9f0330e9 (diff)
downloadperl_checker-58e6677933d504c98dcc3ebf10009dc767a73a37.tar
perl_checker-58e6677933d504c98dcc3ebf10009dc767a73a37.tar.gz
perl_checker-58e6677933d504c98dcc3ebf10009dc767a73a37.tar.bz2
perl_checker-58e6677933d504c98dcc3ebf10009dc767a73a37.tar.xz
perl_checker-58e6677933d504c98dcc3ebf10009dc767a73a37.zip
- use DESTDIR
- add perl_checker-vim - add Ctrl-return in perl and cperl emacs mode
Diffstat (limited to 'misc/Makefile')
-rw-r--r--misc/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
new file mode 100644
index 0000000..70c3def
--- /dev/null
+++ b/misc/Makefile
@@ -0,0 +1,7 @@
+PREFIX = /usr
+DATADIR = $(PREFIX)/share
+
+install:
+ install -D -m 644 perl_checker.vim $(DESTDIR)$(DATADIR)/vim/ftplugin/perl_checker.vim
+ install -D -m 644 perl_checker.el $(DESTDIR)/etc/emacs/site-start.d/perl_checker.el
+ install -D perl_checker-vim $(DESTDIR)$(PREFIX)/bin/perl_checker-vim