summaryrefslogtreecommitdiff
path: root/libvaladoc
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2019-07-27 20:20:45 +0300
committerRico Tzschichholz <ricotz@ubuntu.com>2019-08-04 18:39:35 +0200
commitda7085811b75f589619e2e349ba5b4d2e2bd2b38 (patch)
tree323d5991b4571b52ddb2772c73ec4e56137742ee /libvaladoc
parentca5d2b7a0befc137f3bf7946f2cf719ea91fe027 (diff)
downloadvala-da7085811b75f589619e2e349ba5b4d2e2bd2b38.tar.gz
valadoc: Install icons and doclets to API dependent folders
This allows to co-install different valadoc versions as for the compiler.
Diffstat (limited to 'libvaladoc')
-rw-r--r--libvaladoc/Makefile.am2
-rw-r--r--libvaladoc/valadoc.pc.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/libvaladoc/Makefile.am b/libvaladoc/Makefile.am
index 529b9bc78..8a3924b54 100644
--- a/libvaladoc/Makefile.am
+++ b/libvaladoc/Makefile.am
@@ -4,7 +4,7 @@ NULL =
AM_CFLAGS = \
-DG_LOG_DOMAIN=\"valadoc\" \
- -DPACKAGE_VALADOC_LIBDIR=\"$(libdir)/valadoc\" \
+ -DPACKAGE_VALADOC_LIBDIR=\"$(libdir)/valadoc@PACKAGE_SUFFIX@\" \
-DPACKAGE_VERSION=\"$(VERSION)\" \
$(COVERAGE_CFLAGS) \
$(LIBGVC_CFLAGS) \
diff --git a/libvaladoc/valadoc.pc.in b/libvaladoc/valadoc.pc.in
index b621d4691..791397586 100644
--- a/libvaladoc/valadoc.pc.in
+++ b/libvaladoc/valadoc.pc.in
@@ -4,6 +4,8 @@ libdir=@libdir@
includedir=@includedir@
datarootdir=@datarootdir@
datadir=@datadir@
+pkgdatadir=@pkgdocdatadir@
+pkglibdir=@pkgdoclibdir@
vapidir=@datadir@/vala/vapi
Name: Valadoc