We cannot distribute GPL code. Please adjust dist.sh and/or release.py or
whatever to rm this from our tarball.
I think it can sit in our svn tree, but am not entirely sure, without a bit
Date: Fri Apr 26 22:07:04 2013
New Revision: 1476416
Add some comments to the YouCompleteMe changes.
* .ycm_extra_conf.py: Add header mentioning the source and copyright.
* Makefile.in: Comment explaining purpose of compile-commands target.
Suggested by: julianf
--- subversion/trunk/.ycm_extra_conf.py (original)
+++ subversion/trunk/.ycm_extra_conf.py Fri Apr 26 22:07:04 2013
@@ -1,3 +1,23 @@
+# Configuration file for YouCompleteMe vim plugin to allow the plugin
+# to determine the compile flags. This file is based on:
+# YouCompleteMe's Copyright:
+# Copyright (C) 2011, 2012 Strahinja Val Markovic <val_at_markovic.io>
+# YouCompleteMe is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
from clang_helpers import PrepareClangFlags
--- subversion/trunk/Makefile.in (original)
+++ subversion/trunk/Makefile.in Fri Apr 26 22:07:04 2013
@@ -571,6 +571,12 @@ svnsshcheck: bin $(TEST_DEPS) @BDB_TEST_
bdbcheck: bin $(TEST_DEPS) @BDB_TEST_DEPS@
@$(MAKE) check FS_TYPE=bdb
+# Produce the clang compilation database as the compile_commands.json file
+# in the srcdir. This is used by tools such as the YouCompleteMe vim
+# to know the compile flags for various source files so that analysis such
+# as syntax checking, static analysis or symbol completion can be done
+# outside the build system. To do this it uses the tool called bear:
@bear -o $(abs_srcdir)/compile_commands.json -- $(MAKE) all
Received on 2013-04-27 13:02:16 CEST