summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2010-09-13 08:33:14 +0000
committerStef Walter <stef@memberwebs.com>2010-09-13 08:33:14 +0000
commitdc0799ac1efecfb002df7c4c4f898df9e112505d (patch)
tree1412611ccf50ba80d676164c07f166c7d8e38eb7 /tool
parent8349031dc46a294805934e22ae77b29310542580 (diff)
parentc7f954aafdc4de66ccf191e72fcd93353047e7f5 (diff)
downloadgnome-keyring-dc0799ac1efecfb002df7c4c4f898df9e112505d.tar.gz
Merge branch 'gck-work' into ui-widgets
Diffstat (limited to 'tool')
-rw-r--r--tool/.gitignore1
-rw-r--r--tool/Makefile.am16
2 files changed, 12 insertions, 5 deletions
diff --git a/tool/.gitignore b/tool/.gitignore
index a264247e..fda5af4e 100644
--- a/tool/.gitignore
+++ b/tool/.gitignore
@@ -1 +1,2 @@
/gnome-keyring
+/gnome-keyring-3
diff --git a/tool/Makefile.am b/tool/Makefile.am
index e3252f59..de328b26 100644
--- a/tool/Makefile.am
+++ b/tool/Makefile.am
@@ -1,5 +1,5 @@
bin_PROGRAMS= \
- gnome-keyring
+ gnome-keyring@GCR_VERSION_SUFFIX@
INCLUDES= \
-I$(top_srcdir) \
@@ -8,19 +8,25 @@ INCLUDES= \
$(GOBJECT_CFLAGS) \
$(GLIB_CFLAGS)
-gnome_keyring_SOURCES = \
+gnome_keyring@GCR_VERSION_SUFFIX@_SOURCES = \
gkr-tool.c gkr-tool.h \
gkr-tool-import.c
-gnome_keyring_CFLAGS = \
+gnome_keyring@GCR_VERSION_SUFFIX@_CFLAGS = \
-DGCR_API_SUBJECT_TO_CHANGE \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\"
-gnome_keyring_LDADD = \
+gnome_keyring@GCR_VERSION_SUFFIX@_LDADD = \
$(top_builddir)/gck/libgck.la \
- $(top_builddir)/gcr/libgcr.la \
+ $(top_builddir)/gcr/libgcr@GCR_VERSION_SUFFIX@.la \
$(top_builddir)/egg/libegg.la \
$(GTHREAD_LIBS) \
$(GTK_LIBS) \
$(GCRYPT_LIBS) \
$(DAEMON_LIBS)
+
+# Install a link from gnome-keyring → gnome-keyring@GCR_VERSION_SUFFIX@ to maintain compatibility
+if WITH_GTK3
+install-exec-hook:
+ @test -e "$(DESTDIR)$(bindir)/gnome-keyring" || (cd $(DESTDIR)$(bindir) && $(LN_S) gnome-keyring@GCR_VERSION_SUFFIX@ gnome-keyring)
+endif