diff options
author | Alexander Larsson <alexl@redhat.com> | 2015-10-21 14:10:14 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2015-11-11 11:26:03 +0100 |
commit | 452c5d38c10a42e5cfe62638f6c840a911ecf594 (patch) | |
tree | 240b51b8be35c31d42462f230a5080eca9f8f97e | |
parent | ff63e21073b90dc596c23b90c96b29b7fe54f0e8 (diff) | |
download | xdg-app-452c5d38c10a42e5cfe62638f6c840a911ecf594.tar.gz |
Add xdg-app.pc file with variable for interfaces_dir
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | xdg-app.pc.in | 10 |
3 files changed, 15 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 5981077..2b9caa0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/configure.ac b/configure.ac index 9054f47..4f3f383 100644 --- a/configure.ac +++ b/configure.ac @@ -173,5 +173,6 @@ AM_CONDITIONAL(BUILD_DOCUMENTATION, test x$enable_documentation = xyes) AC_CONFIG_FILES([ Makefile doc/Makefile +xdg-app.pc ]) AC_OUTPUT diff --git a/xdg-app.pc.in b/xdg-app.pc.in new file mode 100644 index 0000000..e7fb8c2 --- /dev/null +++ b/xdg-app.pc.in @@ -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@ |