Add xdg-app.pc file with variable for interfaces_dir

tingping/wmclass
Alexander Larsson 2015-10-21 14:10:14 +02:00
parent ff63e21073
commit 452c5d38c1
3 changed files with 15 additions and 0 deletions

View File

@ -74,3 +74,7 @@ DISTCLEANFILES += xdg-app.env
xdg-app.env: env.d/xdg-app.env.in
$(AM_V_GEN) $(SED) -e "s|\@localstatedir\@|$(localstatedir)|" \
-e "s|\@sysconfdir\@|$(sysconfdir)|" $< > $@
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = xdg-app.pc
EXTRA_DIST += xdg-app.pc.in

View File

@ -173,5 +173,6 @@ AM_CONDITIONAL(BUILD_DOCUMENTATION, test x$enable_documentation = xyes)
AC_CONFIG_FILES([
Makefile
doc/Makefile
xdg-app.pc
])
AC_OUTPUT

10
xdg-app.pc.in 100644
View File

@ -0,0 +1,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
datarootdir=@datarootdir@
datadir=@datadir@
interfaces_dir=${datadir}/dbus-1/interfaces/
Name: xdg-app
Description: Application sandboxing framework
Version: @VERSION@