summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorygribov <ygribov@138bc75d-0d04-0410-961f-82ee72b054a4>2014-12-09 13:45:47 +0000
committerygribov <ygribov@138bc75d-0d04-0410-961f-82ee72b054a4>2014-12-09 13:45:47 +0000
commitd10a337d4ea0fd41ae33623ce9f1509656f86808 (patch)
treecf4befdca797feb9f6af158c5d349371f9d662ca /Makefile.in
parent1e25901c4a126d58c1342b78d34003d369d2e6a2 (diff)
downloadgcc-d10a337d4ea0fd41ae33623ce9f1509656f86808.tar.gz
Local Vim config with GNU formatting.
2014-12-09 Laurynas Biveinis <laurynas.biveinis@gmail.com> Yury Gribov <y.gribov@samsung.com> / * .gitignore: Added .local.vimrc and .lvimrc. * Makefile.tpl (vimrc, .lvimrc, .local.vimrc): New targets. * Makefile.in: Regenerate. contrib/ * vimrc: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218514 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 182e1fd7c50..ba5ae4c2ecb 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -2392,6 +2392,18 @@ mail-report-with-warnings.log: warning.log
chmod +x $@
echo If you really want to send e-mail, run ./$@ now
+# Local Vim config
+
+$(srcdir)/.local.vimrc:
+ $(LN_S) $(srcdir)/contrib/vimrc $@
+
+$(srcdir)/.lvimrc:
+ $(LN_S) $(srcdir)/contrib/vimrc $@
+
+vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
+
+.PHONY: vimrc
+
# Installation targets.
.PHONY: install uninstall