aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2016-08-29 14:25:46 -0500
committerJonas Ådahl <jadahl@gmail.com>2016-08-30 17:13:08 +0800
commit4253ad0b99eb1e98daa27539a689415ee8cccb67 (patch)
tree8702b057009aa95e07b9992c7c0957aef1bb57cd
parent2e541a36deff5f2e16e25e27f7f93d26822eecc2 (diff)
buildsystem: add -uninstalled.pc pkg-config file
For building against an uninstalled wayland-protocols tree Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com> Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
-rw-r--r--configure.ac1
-rw-r--r--wayland-protocols-uninstalled.pc.in5
2 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4c43daa..fbb0ec2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,6 +35,7 @@ PKG_NOARCH_INSTALLDIR
AC_CONFIG_FILES([
Makefile
wayland-protocols.pc
+ wayland-protocols-uninstalled.pc
])
AC_OUTPUT
diff --git a/wayland-protocols-uninstalled.pc.in b/wayland-protocols-uninstalled.pc.in
new file mode 100644
index 0000000..cf7adf2
--- /dev/null
+++ b/wayland-protocols-uninstalled.pc.in
@@ -0,0 +1,5 @@
+pkgdatadir=@abs_top_srcdir@
+
+Name: Wayland Protocols
+Description: Wayland protocol files (not installed)
+Version: @WAYLAND_PROTOCOLS_VERSION@