summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-10-12 11:25:35 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-10-14 13:42:42 +0200
commitc461e9d7a0d6fbb20dc6ac22ec049f1ff9100856 (patch)
treefc984bc4e4b5120081127da27568a048cd087c95 /Makefile.in
parent77fb3ffdb6a8077cd3931985de923fbd1396d424 (diff)
add missing dependency for gbuild-to-json
while most of the integration targets are meant to have a nice debugging environment, others like the vim-ide-integration or also the vscode one seek to provide a nice editing experience with code completion and code lookup. Ideally you'd be able to have the integration available immediately and can use the editor while a build is running in the background. But from a fresh builddir make vim-ide-integration (vscode-ide-integration) fails because of the missing dependency. That dependency probably is optional for the purpose of just providing a editing environment as opposed to providing build-targets like the integration does for some of the other IDEs, so I consider this commit more of a "good enough" workaround for the time being. Change-Id: I586445fed849d416fde9804a1e2a9c6ee0ed50eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141248 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 77df6b468c6d..c65ea071c072 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -500,6 +500,10 @@ $(eval $(call gb_Top_GbuildToIdeIntegration,$(ide))))
# this target is provided primarily for consistency with the other ide-integrations
vscode-ide-integration: $(BUILDDIR)/vs-code.code-workspace vim-ide-integration
+# ToDo: there probably is a way to have it at least create the compile-commnands.json file
+# for the vim/vs-code integration without building the registry stuff
+gbuildtojson: Rdb
+
$(BUILDDIR)/vs-code.code-workspace: $(BUILDDIR)/vs-code.code-workspace.template
@test -e $@ || cp $< $@ && \
cmp -s $@ $< || echo "ATTN: $(@F) differs from $(<F), please check yourself for changes"