[nautilus-sendto] Add pkg-config file and export header
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus-sendto] Add pkg-config file and export header
- Date: Wed, 23 Sep 2009 12:11:27 +0000 (UTC)
commit 302e510d6edb1bd0845e39d3f9d76eda7096a5b2
Author: Dimitur Kirov <dkirov gmail com>
Date: Wed Sep 23 12:57:31 2009 +0100
Add pkg-config file and export header
configure.in | 1 +
src/Makefile.am | 8 +++++++-
src/nautilus-sendto.pc.in | 10 ++++++++++
3 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index ae13195..4fdf4f1 100644
--- a/configure.in
+++ b/configure.in
@@ -282,6 +282,7 @@ AM_GCONF_SOURCE_2
AC_OUTPUT([
Makefile
src/Makefile
+src/nautilus-sendto.pc
src/plugins/Makefile
src/plugins/bluetooth/Makefile
src/plugins/empathy/Makefile
diff --git a/src/Makefile.am b/src/Makefile.am
index 3fc885e..ee7567f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -11,6 +11,12 @@ INCLUDES = \
$(DISABLE_DEPRECATED) \
$(WARN_CFLAGS)
+nautilus_sendto_includedir = $(includedir)/nautilus-sendto/
+nautilus_sendto_include_HEADERS = nautilus-sendto-plugin.h
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = nautilus-sendto.pc
+
ui_DATA = nautilus-sendto.ui
uidir = $(datadir)/nautilus-sendto/ui
@@ -61,5 +67,5 @@ nst-enum-types.c: $(nst_headers_to_scan_for_enums) Makefile nst-enum-types.h
--vtail " { 0, NULL, NULL }\n };\n etype = g_ type@_register_static (\"@EnumName \", values);\n }\n return etype;\n}\n" \
$(nst_headers_to_scan_for_enums)) > $@
-EXTRA_DIST = $(ui_DATA)
+EXTRA_DIST = $(ui_DATA) nautilus-sendto.pc.in
CLEANFILES = $(nst_built_headers) $(nst_built_cfiles)
diff --git a/src/nautilus-sendto.pc.in b/src/nautilus-sendto.pc.in
new file mode 100644
index 0000000..367b95c
--- /dev/null
+++ b/src/nautilus-sendto.pc.in
@@ -0,0 +1,10 @@
+prefix= prefix@
+exec_prefix= exec_prefix@
+includedir= includedir@
+pluginsdir= libdir@/nautilus-sendto/plugins
+
+Name: nautilus-sendto
+Description: Extend nautilus-sendto through plugins
+Version: @VERSION@
+Requires: glib-2.0 gmodule-2.0 libgnomeui-2.0
+Cflags: -I${includedir}/nautilus-sendto
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]