aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/conduit
diff options
context:
space:
mode:
authorJP Rosvear <jpr@ximian.com>2003-12-02 03:02:19 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-12-02 03:02:19 +0800
commitc7aacab267cb8e964ba335696188026bd80e5696 (patch)
treec2d688d2f5d5bee52e83424d92aa305f52e25604 /addressbook/conduit
parent9d1eec8d4e2f297a3b40b579075e7f99f3050258 (diff)
downloadgsoc2013-evolution-c7aacab267cb8e964ba335696188026bd80e5696.tar.gz
gsoc2013-evolution-c7aacab267cb8e964ba335696188026bd80e5696.tar.zst
gsoc2013-evolution-c7aacab267cb8e964ba335696188026bd80e5696.zip
version the .conduit file
2003-12-01 JP Rosvear <jpr@ximian.com> * conduit/Makefile.am: version the .conduit file svn path=/trunk/; revision=23531
Diffstat (limited to 'addressbook/conduit')
-rw-r--r--addressbook/conduit/Makefile.am17
1 files changed, 9 insertions, 8 deletions
diff --git a/addressbook/conduit/Makefile.am b/addressbook/conduit/Makefile.am
index 02df188703..ecd44c179e 100644
--- a/addressbook/conduit/Makefile.am
+++ b/addressbook/conduit/Makefile.am
@@ -5,7 +5,6 @@ INCLUDES = \
-I$(top_builddir)/addressbook/backend \
-I$(top_srcdir)/e-util \
-I$(top_builddir)/e-util \
- $(PISOCK_CFLAGS) \
$(EVOLUTION_ADDRESSBOOK_CONDUIT_CFLAGS)
# Address Conduit
@@ -22,18 +21,20 @@ libeaddress_conduit_la_LIBADD = \
$(top_builddir)/camel/libcamel.la \
$(EVOLUTION_ADDRESSBOOK_CONDUIT_LIBS)
-e-address.conduit: e-address.conduit.in Makefile
+e-address-$(BASE_VERSION).conduit: e-address.conduit.in
sed -e 's^\@prefix\@^$(prefix)^g' \
-e 's^\@datadir\@^$(datadir)^g' \
- < $(srcdir)/e-address.conduit.in > e-address.conduit.tmp \
- && mv e-address.conduit.tmp e-address.conduit
+ -e 's^\@BASE_VERSION\@^$(BASE_VERSION)^g' \
+ $< > $@
+conduitdir = $(datadir)/gnome-pilot/conduits/
+conduit_DATA = e-address-$(BASE_VERSION).conduit
-Conduitdir = $(datadir)/gnome-pilot/conduits/
-Conduit_DATA = e-address.conduit
+BUILT_SOURCES = $(conduit_DATA)
+CLEANFILES = $(BUILT_SOURCES)
EXTRA_DIST = \
e-address.conduit.in
-install-data-local:
- $(mkinstalldirs) $(Conduitdir)
+dist-hook:
+ cd $(distdir); rm -f $(BUILT_SOURCES)