summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Bridon <bochecha@daitauha.fr>2018-09-10 14:01:22 +0200
committerMathieu Bridon <bochecha@daitauha.fr>2018-09-10 14:02:26 +0200
commitd886b1d75da787a93a4d28658e293a56e1de52b1 (patch)
tree446c39a7d5676eb37cf6d7b92ac5e5b053068384
parent20e8a3b3095ce6e26158c7e8f110a052d4c99262 (diff)
downloadlibrsvg-d886b1d75da787a93a4d28658e293a56e1de52b1.tar.gz
build: Fix building with srcdir != builddir
This came up in the Freedesktop-Sdk project: https://gitlab.com/freedesktop-sdk/freedesktop-sdk/merge_requests/507#note_99932762
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 3792d40b..6bf1e581 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -374,7 +374,7 @@ VAPIGEN_VAPIS = librsvg-$(RSVG_API_VERSION).vapi
librsvg_@RSVG_API_VERSION_U@_vapi_DEPS = gio-2.0 cairo
librsvg_@RSVG_API_VERSION_U@_vapi_METADATADIRS = $(srcdir)
-librsvg_@RSVG_API_VERSION_U@_vapi_FILES = Rsvg-$(RSVG_API_VERSION).gir Rsvg-$(RSVG_API_VERSION)-custom.vala
+librsvg_@RSVG_API_VERSION_U@_vapi_FILES = Rsvg-$(RSVG_API_VERSION).gir $(srcdir)/Rsvg-$(RSVG_API_VERSION)-custom.vala
vapidir = $(datadir)/vala/vapi
vapi_DATA = $(VAPIGEN_VAPIS)