From c7aacab267cb8e964ba335696188026bd80e5696 Mon Sep 17 00:00:00 2001 From: JP Rosvear Date: Mon, 1 Dec 2003 19:02:19 +0000 Subject: version the .conduit file 2003-12-01 JP Rosvear * conduit/Makefile.am: version the .conduit file svn path=/trunk/; revision=23531 --- addressbook/conduit/Makefile.am | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'addressbook/conduit') 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) -- cgit